@@ -14,6 +14,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property int|null $spare_part_id
|
||||
* @property int|null $catalogue_entry_id
|
||||
* @property array<string,mixed>|null $catalogue_snapshot
|
||||
* @property array<string,mixed>|null $category_context
|
||||
*/
|
||||
class RequisitionItem extends Model
|
||||
{
|
||||
@@ -25,6 +26,6 @@ class RequisitionItem extends Model
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return ['quantity' => 'decimal:3', 'tax_rate' => 'decimal:2', 'catalogue_entry_id' => 'integer', 'catalogue_snapshot' => 'array'];
|
||||
return ['quantity' => 'decimal:3', 'tax_rate' => 'decimal:2', 'catalogue_entry_id' => 'integer', 'catalogue_snapshot' => 'array', 'category_context' => 'array'];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user