<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class ImportTransit extends Model
{

    use SoftDeletes;

    protected $casts = [
        'mail_received_date'   => 'date',
        'shipper_invoice_date' => 'date',
        'eta_date'             => 'date',
        'etd_date'             => 'date',
        'bill_received_date'   => 'date',
    ];

    protected $fillable = [
        'cri_rfq_number',
        'mail_received_date',
        'pricol_ref_number',
        'requester',
        'shipper',
        'shipper_location',
        'shipper_invoice',
        'shipper_invoice_date',
        'customs_agent_name',
        'eta_date',
        'status',
        'insurance_status',
        'delivery_location',
        'etd_date',
        'mode',
        'inco_terms',
        'port_of_loading',
        'port_of_discharge',
        'delivery_city',
        'packages',
        'type_of_package',
        'gross_weight',
        'volume',
        'bill_number',
        'bill_received_date',
        'vessel_number',
        'remark',
        'is_transit_identified',
        'inv_value',
        'freight_charge',
        'created_at',
        'created_by',
        'updated_at',
        'updated_by',
    ];

}
