migrate to gtea from bistbucket
This commit is contained in:
33
app/Models/Currency.php
Normal file
33
app/Models/Currency.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?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',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user