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