| 12345678910111213141516171819 |
- <?php
- namespace App;
- use Illuminate\Database\Eloquent\Model;
- use App\Traits\ModelTimeFormat;
- class WaybillPayoff extends Model
- {
- use ModelTimeFormat;
- protected $fillable=[
- 'waybill_id','total_expense','total_receivable','gross_margin','gross_profit_rate'
- ];
- public function waybill(){
- return $this->belongsTo('App\Waybill','waybill_id','id');
- }
- }
|