class ClosingRate extends Model implements Segregatable, Recyclable

Class ClosingRate

Traits

Properties

protected array $fillable

The attributes that are mass assignable.

Entity $entity
ExchangeRate $exchangeRate
ReportingPeriod $reportingPeriod
Carbon $destroyed_at
Carbon $deleted_at

Methods

static void
bootSegregating()

Register EntityScope for Model.

HasOne
entity()

Model's Parent Entity.

static void
bootRecycling()

Model recycling events.

MorphMany
recycled()

Recycled Model records.

getTable()

Determine the model table name

string
toString($type = false)

Instance Identifier.

belongsTo
exchangeRate()

Closing Rates's Exchange Rate.

belongsTo
reportingPeriod()

Closing Rates's Reporting Period.

object
attributes()

ClosingRate attributes.

bool
save(array $options = [])

Validate Closing Rate.

Details

in Segregating at line 28
static void bootSegregating()

Register EntityScope for Model.

Return Value

void

at line 71
HasOne entity()

Model's Parent Entity.

Return Value

HasOne

in Recycling at line 28
static void bootRecycling()

Model recycling events.

Return Value

void

in Recycling at line 73
MorphMany recycled()

Recycled Model records.

Return Value

MorphMany

in ModelTablePrefix at line 22
getTable()

Determine the model table name

at line 58
string toString($type = false)

Instance Identifier.

Parameters

$type

Return Value

string

at line 81
belongsTo exchangeRate()

Closing Rates's Exchange Rate.

Return Value

belongsTo

at line 91
belongsTo reportingPeriod()

Closing Rates's Reporting Period.

Return Value

belongsTo

at line 101
object attributes()

ClosingRate attributes.

Return Value

object

at line 109
bool save(array $options = [])

Validate Closing Rate.

Parameters

array $options

Return Value

bool