Approval
class Approval extends Model (View source)
One approver's vote for a modification or one of its items.
Properties
| protected | $table | ||
| protected | $guarded | ||
| string|null | $reason | ||
| int | $modification_id | ||
| int|null | $modification_item_id | Null when the vote is on the whole modification. |
|
| Model read-only | $approver |
Methods
MorphTo
approver()
The model that cast this vote.
BelongsTo
modification()
The modification this vote belongs to.
BelongsTo
modificationItem()
The item this vote is on, if it isn't on the whole modification.
Details
MorphTo
approver()
The model that cast this vote.
BelongsTo
modification()
The modification this vote belongs to.
BelongsTo
modificationItem()
The item this vote is on, if it isn't on the whole modification.