| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- namespace App;
- use Illuminate\Database\Eloquent\Model;
- use App\Traits\ModelLogChanging;
- class OwnerWayBillFeeDetail extends Model
- {
- use ModelLogChanging;
- public $fillable = [
- 'owner_fee_detail_id',
- 'waybill_id',
- 'util_id',
- 'step',//计数区间
- 'fuel_fee',//燃油附加费
- 'service_fee',//信息费
- 'originate_fee',//起始计费
- 'originate_count',//起始计数
- 'price',//单价
- 'delivery_fee'//送货费
- ];
- public function ownerFeeDetail()
- {
- return $this->belongsTo(OwnerFeeDetail::class);
- }
- public function waybill()
- {
- return $this->belongsTo(Waybill::class);
- }
- public function unit()
- {
- return $this->belongsTo(Unit::class);
- }
- }
|