*/ use HasFactory; protected $table = 'filamentPriceHistory'; public $timestamps = false; protected $fillable = ['filamentId', 'price', 'currentDiscount']; protected function casts(): array { return ['currentDiscount' => 'array', 'recordedAt' => 'datetime', 'price' => 'decimal:2']; } }