\AppUnitsEvent

Class UnitsEvent

This class provides ORM part of model for associative table between unit and event (one unit has many events and one event belongs to many units).

Summary

Methods
Properties
Constants
event()
unit()
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

event()

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

Every UnitsEvent belongs to only one Event.

Returns

\Illuminate\Database\Eloquent\Relations\BelongsTo

unit()

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

Every UnitsEvent can has only one Unit.

Returns

\Illuminate\Database\Eloquent\Relations\BelongsTo