| 1 | <?php |
||
| 10 | class Reference extends Base |
||
| 11 | { |
||
| 12 | |||
| 13 | protected $organizationPerspective = false; |
||
| 14 | |||
| 15 | protected $table = 'references'; |
||
| 16 | |||
| 17 | public $timestamps = false; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The attributes that are mass assignable. |
||
| 21 | * |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | protected $fillable = [ |
||
| 25 | 'code', |
||
| 26 | 'name', |
||
| 27 | ]; |
||
| 28 | |||
| 29 | |||
| 30 | /** |
||
| 31 | * Get all of the issues that are assigned this reference. |
||
| 32 | */ |
||
| 33 | public function issues() |
||
| 37 | |||
| 38 | |||
| 39 | /** |
||
| 40 | * Get all of the fields that are assigned this reference. |
||
| 41 | */ |
||
| 42 | public function fields() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Get all of the projects that are assigned this reference. |
||
| 49 | */ |
||
| 50 | public function projects() |
||
| 54 | |||
| 55 | } |