settter
parent
b9f64be399
commit
c9464d0c47
|
@ -19,4 +19,8 @@ class Deduction extends Base
|
||||||
{
|
{
|
||||||
return $this->hasOne(CouponMain::class,"id","coupon_main_id");
|
return $this->hasOne(CouponMain::class,"id","coupon_main_id");
|
||||||
}
|
}
|
||||||
|
public function bill()
|
||||||
|
{
|
||||||
|
return $this->hasOne(Bill::class,"id","bill_id");
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue