migrate to gtea from bistbucket
This commit is contained in:
31
app/Models/Vat.php
Normal file
31
app/Models/Vat.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
class Vat extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'rate',
|
||||
'status',
|
||||
'sub_vat',
|
||||
'business_id',
|
||||
];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $casts = [
|
||||
'rate' => 'double',
|
||||
'sub_vat' => 'json',
|
||||
'status' => 'boolean',
|
||||
'business_id' => 'integer',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user