|
|
@ -25,11 +25,11 @@ class IndustryOrder extends BaseModel |
|
|
|
|
|
|
|
|
public function industryProduct() |
|
|
public function industryProduct() |
|
|
{ |
|
|
{ |
|
|
return $this->belongsTo(IndustryProduct::class); |
|
|
|
|
|
|
|
|
return $this->belongsTo(IndustryProduct::class)->withTrashed(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function spec() |
|
|
public function spec() |
|
|
{ |
|
|
{ |
|
|
return $this->hasOne(IndustryProductSpec::class, 'id', 'industry_product_spec_id'); |
|
|
|
|
|
|
|
|
return $this->hasOne(IndustryProductSpec::class, 'id', 'industry_product_spec_id')->withTrashed(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |