master
wangxinglong 2021-12-20 16:17:54 +08:00
parent b9f64be399
commit c9464d0c47
1 changed files with 4 additions and 0 deletions

View File

@ -19,4 +19,8 @@ class Deduction extends Base
{
return $this->hasOne(CouponMain::class,"id","coupon_main_id");
}
public function bill()
{
return $this->hasOne(Bill::class,"id","bill_id");
}
}