Total Complexity | 1 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | class SystemDataFields extends Model |
||
8 | { |
||
9 | protected $primaryKey = 'field_id'; |
||
10 | protected $fillable = ['sys_id', 'data_type_id', 'order']; |
||
11 | protected $hidden = ['data_type_id', 'order', 'created_at', 'updated_at']; |
||
12 | |||
13 | // public function systemCustDataTypes() |
||
14 | // { |
||
15 | // return $this->hasMany('App\systemCustDataTypes', 'data_type_id', 'data_type_id'); |
||
16 | // } |
||
17 | |||
18 | // public function systemTypes() |
||
19 | // { |
||
20 | // return $this->hasMany('App\SystemTypes', 'sys_id', 'sys_id'); |
||
21 | // } |
||
22 | |||
23 | // public function CustomerSystemFields() |
||
24 | // { |
||
25 | // return $this->belongsTo('App\CustomerSystemFields', 'field_id'); |
||
26 | // } |
||
27 | |||
28 | 4 | public function SystemDataFieldTypes() |
|
35 |