Files
2026-08-07 09:16:13 +07:00

5 lines
354 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ItemStockLog extends Model { protected $guarded=['id']; protected function casts():array{return ['qty_before'=>'decimal:2','qty_change'=>'decimal:2','qty_after'=>'decimal:2','barcode_qty_before'=>'decimal:2','barcode_qty_change'=>'decimal:2','barcode_qty_after'=>'decimal:2'];} }