| Total Complexity | 0 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class UserRole extends Model |
||
| 12 | { |
||
| 13 | use SoftDeletes; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Fillable attributes |
||
| 17 | * |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | protected $fillable = [ |
||
| 21 | 'user_id', 'role_id' |
||
| 22 | ]; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Indicates if the IDs are auto-incrementing. |
||
| 26 | * |
||
| 27 | * @var bool |
||
| 28 | */ |
||
| 29 | public $incrementing = true; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Define the table to use |
||
| 33 | * |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | public $table = 'control_role_user'; |
||
| 37 | |||
| 38 | } |