class ExchangeRate extends Model implements Segragatable, Recyclable

Class ExchangeRate

Traits

Properties

protected array $fillable The attributes that are mass assignable.
Entity $entity
Currency $currency
Carbon $valid_from
Carbon $valid_to
float $rate
Carbon $destroyed_at
Carbon $deleted_at

Methods

static null
bootSegragating()

Register EntityScope for Model.

HasOne
entity()

Model's Parent Entity.

static void
bootRecycling()

Model recycling events.

from Recycling
MorphMany
recycled()

Recycled Model records.

from Recycling
getTable()

Determine the model table name

BelongsTo
currency()

Exchange Rate Currency.

object
attributes()

ExchangeRate attributes

Details

in Segragating at line 29
static null bootSegragating()

Register EntityScope for Model.

Return Value

null

in Segragating at line 54
HasOne entity()

Model's Parent Entity.

Return Value

HasOne

in Recycling at line 26
static void bootRecycling()

Model recycling events.

Return Value

void

in Recycling at line 69
MorphMany recycled()

Recycled Model records.

Return Value

MorphMany

in ModelTablePrefix at line 20
getTable()

Determine the model table name

at line 58
BelongsTo currency()

Exchange Rate Currency.

Return Value

BelongsTo

at line 68
object attributes()

ExchangeRate attributes

Return Value

object