\AppEvent

Class Event

This class provides ORM part of model for events. Events can be understand in our system as tasks (school tasks, subject tasks, or other events).

Summary

Methods
Properties
Constants
user()
eventType()
option()
No public properties found
No constants found
No protected methods found
$fillable
N/A
No private methods found
No private properties found
N/A

Properties

$fillable

$fillable : array

The attributes that are mass assignable.

Type

array

Methods

user()

user() : \Illuminate\Database\Eloquent\Relations\BelongsTo

Every event belongs only to one user

Returns

\Illuminate\Database\Eloquent\Relations\BelongsTo

eventType()

eventType() : \Illuminate\Database\Eloquent\Relations\BelongsTo

Every event can has only one event type

Returns

\Illuminate\Database\Eloquent\Relations\BelongsTo

option()

option() : \Illuminate\Database\Eloquent\Relations\HasMany

Every event may contains multiple options

Returns

\Illuminate\Database\Eloquent\Relations\HasMany