Entity
class Entity extends Model implements Recyclable
Class Entity
Traits
Properties
protected array | $fillable | The attributes that are mass assignable. | |
Currency | $currency | ||
string | $name | ||
bool | $multi_currency | ||
integer | $year_start | ||
Carbon | $destroyed_at | ||
Carbon | $deleted_at |
Methods
HasMany
users()
Users associated with the reporting Entity.
BelongsTo
currency()
Entity's Reporting Currency.
HasMany
reportingPeriods()
Entity's Reporting Periods.
object
attributes()
Entity attributes
defaultRate()
Reporting Currency Default Rate.
Details
in Recycling at line 26
static void
bootRecycling()
Model recycling events.
in Recycling at line 69
MorphMany
recycled()
Recycled Model records.
in ModelTablePrefix at line 20
getTable()
Determine the model table name
at line 56
HasMany
users()
Users associated with the reporting Entity.
at line 66
BelongsTo
currency()
Entity's Reporting Currency.
at line 76
HasMany
reportingPeriods()
Entity's Reporting Periods.
at line 86
object
attributes()
Entity attributes
at line 96
ExchangeRate
defaultRate()
Reporting Currency Default Rate.