Copy
class Copy extends BaseModel (View source)
View model representing book copies.
Properties
| $timestamps | |||
| protected | $table | ||
| protected | $guarded |
Methods
save(array $options = [])
Prevents saving, enforcing read-only behavior for view models.
from
BaseModel
string|null
getIdAttribute(null|string $value)
Converts binary UUID (BLOB) to string representation.
from
BaseModel
string|null
getBookIdAttribute($value)
No description
string|null
getGenreIdAttribute($value)
No description
string|null
getIsbnAttribute($value)
No description
BelongsTo
book()
No description
HasMany
loans()
No description
Details
save(array $options = [])
Prevents saving, enforcing read-only behavior for view models.
string|null
getIdAttribute(null|string $value)
Converts binary UUID (BLOB) to string representation.
string|null
getBookIdAttribute($value)
No description
string|null
getGenreIdAttribute($value)
No description
string|null
getIsbnAttribute($value)
No description
BelongsTo
book()
No description
HasMany
loans()
No description