refactor(modular): 完成第三與第四階段深層掃描與 Model 清理
This commit is contained in:
@@ -22,32 +22,8 @@ class ProductionOrderItem extends Model
|
||||
'quantity_used' => 'decimal:4',
|
||||
];
|
||||
|
||||
/**
|
||||
* @deprecated 使用 InventoryServiceInterface 獲取庫存資訊
|
||||
*/
|
||||
public function inventory()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
public function unit()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public function productionOrder(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
{
|
||||
return $this->belongsTo(ProductionOrder::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 使用 InventoryServiceInterface 獲取產品資訊
|
||||
*/
|
||||
public function product()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user