Currency
class Currency extends Model implements Recyclable, Segregatable
Class Currency
Traits
Properties
| protected array | $fillable | The attributes that are mass assignable. |
|
| string | $currency_code | ||
| string | $name | ||
| Carbon | $destroyed_at | ||
| Carbon | $deleted_at |
Methods
HasOne
entity()
Model's Parent Entity.
string
toString($type = false)
Instance Identifier.
HasMany
exchangeRates()
Currency Exchange Rates.
object
attributes()
Currency attributes.
bool
save(array $options = [])
Associate Entity.
Details
in
Segregating at line 28
static void
bootSegregating()
Register EntityScope for Model.
at line 78
HasOne
entity()
Model's Parent Entity.
in
Recycling at line 28
static void
bootRecycling()
Model recycling events.
in
Recycling at line 73
MorphMany
recycled()
Recycled Model records.
in
ModelTablePrefix at line 22
getTable()
Determine the model table name
at line 57
string
toString($type = false)
Instance Identifier.
at line 68
HasMany
exchangeRates()
Currency Exchange Rates.
at line 88
object
attributes()
Currency attributes.
at line 96
bool
save(array $options = [])
Associate Entity.