1 | <?php |
||
29 | class ServiceVariables extends Model |
||
30 | { |
||
31 | /** |
||
32 | * The table associated with the model. |
||
33 | * |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $table = 'service_variables'; |
||
37 | |||
38 | /** |
||
39 | * Fields that are not mass assignable. |
||
40 | * |
||
41 | * @var array |
||
42 | */ |
||
43 | protected $guarded = ['id', 'created_at', 'updated_at']; |
||
44 | |||
45 | /** |
||
46 | * Cast values to correct type. |
||
47 | * |
||
48 | * @var array |
||
49 | */ |
||
50 | protected $casts = [ |
||
51 | 'option_id' => 'integer', |
||
52 | 'user_viewable' => 'integer', |
||
53 | 'user_editable' => 'integer', |
||
54 | 'required' => 'integer', |
||
55 | ]; |
||
56 | |||
57 | public function serverVariables() |
||
61 | } |
||
62 |