| 1 | <?php |
||
| 7 | class Role extends Model |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Indicates if the model should be timestamped. |
||
| 11 | * |
||
| 12 | * @var bool |
||
| 13 | */ |
||
| 14 | public $timestamps = false; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The attributes that are mass assignable. |
||
| 18 | * |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | protected $fillable = [ |
||
| 22 | 'name' |
||
| 23 | ]; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Get the permissions this role has by default. |
||
| 27 | */ |
||
| 28 | public function permissions() |
||
| 32 | } |
||
| 33 |