<?php

namespace App\Models;

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

class SupplierPricing extends Model
{
    use HasFactory;

    protected $table = 'supplier_pricings';

    protected $fillable = [
        'ProductCode',
        'ProductName',
        'CategoryName',
        'SalePrice',
        'is_sent',
        'is_new'
    ];

    protected $casts = [
        'updated_at' => 'datetime:Y-m-d H:i:s',
        'created_at' => 'datetime:Y-m-d H:i:s',
    ];

    // protected $hidden = ['id', 'created_at'];
}
