<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Veneer extends Model
{
    use HasFactory;

    protected $fillable = [
        'name',
        'thickness',
        'pattern',
        'price_per_m2',
        'is_active',
    ];

    protected $casts = [
        'thickness' => 'decimal:2',
        'price_per_m2' => 'decimal:2',
        'is_active' => 'boolean',
    ];
}