Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2485300
VatRate.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
847 B
Referenced Files
None
Subscribers
None
VatRate.php
View Options
<?php
namespace
App
;
use
App\Traits\UuidStrKeyTrait
;
use
Illuminate\Database\Eloquent\Model
;
/**
* The eloquent definition of a Vat Rate.
*
* @property string $id Rate identifier (uuid)
* @property string $country Two-letter country code
* @property float $rate Tax rate
* @property string $start Start date of the rate
*/
class
VatRate
extends
Model
{
use
UuidStrKeyTrait
;
/** @var array<string, string> The attributes that should be cast */
protected
$casts
=
[
'start'
=>
'datetime:Y-m-d H:i:s'
,
'rate'
=>
'float'
];
/** @var array<int, string> The attributes that are mass assignable */
protected
$fillable
=
[
'country'
,
'rate'
,
'start'
,
];
/** @var bool Indicates if the model should be timestamped. */
public
$timestamps
=
false
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Nov 21, 3:35 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
387507
Default Alt Text
VatRate.php (847 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment