<?php

namespace App;

use App\Traits\ModelTimeFormat;
use App\Traits\ModelLogChanging;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasOne;

class OrderPackageCommoditySerialNumber extends Model
{
    use ModelLogChanging;
    use ModelTimeFormat;

    protected $fillable = ['order_package_commodity_id','serial_number'];
    //

    public function orderPackageCommodity(): HasOne
    {
        return $this->hasOne(OrderPackageCommodities::class);
    }
}
