SchoolClass
class SchoolClass extends BaseModel (View source)
Properties
| bool | $timestamps | ||
| protected string | $table | ||
| protected array<int,string> | $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
BelongsToMany
students()
Defines the many-to-many relationship between classes and students.
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.
BelongsToMany
students()
Defines the many-to-many relationship between classes and students.
Uses the view vw_student_school_class as the pivot table.