Disapproval
class Disapproval extends Model (View source)
One disapprover's vote against 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 | $disapprover |
Methods
MorphTo
disapprover()
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
disapprover()
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.