model
parent
ad6cff0929
commit
18c07b1879
|
|
@ -26,6 +26,8 @@ class OrderProfit extends Model
|
|||
|
||||
protected $fillable = ['id', 'order_id', 'from_user_id', 'user_id', 'role', 'role_name', 'growth_value', 'ratio', 'money', 'sub_money', 'status', 'paid_at', 'pay_no', 'pay_way', 'pay_data', 'remarks'];
|
||||
|
||||
protected $dates = ['paid'];
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo(User::class, 'user_id');
|
||||
|
|
|
|||
Loading…
Reference in New Issue