| 1 | <?php namespace FreedomCore\TrinityCore\Character\Models; |
||
| 19 | class CharacterGarrisonFollowerAbility extends CharacterBaseModel |
||
| 20 | { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @inheritdoc |
||
| 24 | * @var bool |
||
| 25 | */ |
||
| 26 | public $incrementing = true; |
||
| 27 | /** |
||
| 28 | * @inheritdoc |
||
| 29 | * @var bool |
||
| 30 | */ |
||
| 31 | public $timestamps = false; |
||
| 32 | /** |
||
| 33 | * @inheritdoc |
||
| 34 | * @var array |
||
| 35 | */ |
||
| 36 | protected $casts = [ |
||
| 37 | 'dbId' => 'int', |
||
| 38 | 'abilityId' => 'int', |
||
| 39 | 'slot' => 'int' |
||
| 40 | ]; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Get garrison follower to whom this |
||
| 44 | * ability belongs to |
||
| 45 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
| 46 | */ |
||
| 47 | public function garrisonFollower() |
||
| 51 | } |
||
| 52 |