1 | <?php |
||
14 | class ConfigStatus extends Model |
||
15 | { |
||
16 | use ConfigStatusScope; |
||
17 | |||
18 | /** |
||
19 | * The database table used by the model. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $table = 'config_statuses'; |
||
24 | |||
25 | /** |
||
26 | * Attributes that should be mass-assignable. |
||
27 | * |
||
28 | * @var array |
||
29 | */ |
||
30 | protected $fillable = ['type', 'name', 'description', 'position']; |
||
31 | |||
32 | /** |
||
33 | * The attributes excluded from the model's JSON form. |
||
34 | * |
||
35 | * @var array |
||
36 | */ |
||
37 | protected $hidden = []; |
||
38 | |||
39 | /** |
||
40 | * The attributes that should be casted to native types. |
||
41 | * |
||
42 | * @var array |
||
43 | */ |
||
44 | protected $casts = []; |
||
45 | |||
46 | public $timestamps = false; |
||
47 | |||
48 | public function users() |
||
52 | |||
53 | public function status() |
||
57 | |||
58 | public function issue() |
||
62 | } |
||
63 |