Files
kulakpos_web/app/Models/Currency.php

34 lines
592 B
PHP
Raw Normal View History

2026-03-15 17:08:23 +07:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class Currency extends Model
{
use HasFactory;
protected $fillable = [
'name',
'country_name',
'code',
'rate',
'symbol',
'position',
'status',
'is_default',
];
/**
* The attributes that should be cast to native types.
*
* @var array
*/
protected $casts = [
'status' => 'boolean',
'is_default' => 'boolean',
'rate' => 'double',
];
}