| 1 | <?php  | 
            ||
| 16 | class Navigation extends Model implements Cacheable  | 
            ||
| 17 | { | 
            ||
| 18 | use AuditableTrait, PublishableTrait;  | 
            ||
| 19 | |||
| 20 | /**  | 
            ||
| 21 | * @var string  | 
            ||
| 22 | */  | 
            ||
| 23 | protected $table = 'navigation';  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * @var array  | 
            ||
| 27 | */  | 
            ||
| 28 | protected $fillable = ['title', 'type', 'published'];  | 
            ||
| 29 | |||
| 30 | /**  | 
            ||
| 31 | * @return \Illuminate\Database\Eloquent\Relations\HasMany|Menu  | 
            ||
| 32 | */  | 
            ||
| 33 | public function menus()  | 
            ||
| 37 | |||
| 38 | /**  | 
            ||
| 39 | * Get list of keys used for caching.  | 
            ||
| 40 | *  | 
            ||
| 41 | * @return array  | 
            ||
| 42 | */  | 
            ||
| 43 | public function getCacheKeys()  | 
            ||
| 50 | }  | 
            ||
| 51 |