|
|
@ -22,11 +22,6 @@ class AgentProduct extends BaseModel |
|
|
return $this->hasMany(Coupon::class); |
|
|
return $this->hasMany(Coupon::class); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function fav() |
|
|
|
|
|
{ |
|
|
|
|
|
return $this->hasOne(UserFav::class); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function agent() |
|
|
public function agent() |
|
|
{ |
|
|
{ |
|
|
return $this->belongsTo(Agent::class); |
|
|
return $this->belongsTo(Agent::class); |
|
|
|