<?php

namespace App;

use App\Traits\ModelTimeFormat;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

use App\Traits\ModelLogChanging;

class WaybillOnTop extends Model
{
    use ModelLogChanging;

    //
    use ModelTimeFormat;
    use SoftDeletes;

    protected $fillable = ['remark','waybill_id'];

    public function waybill(){
        return $this->hasOne('App/Waybill','id','waybill_id');
    }
}
