Total Complexity | 2 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CustomerSystemData extends Model |
||
8 | { |
||
9 | protected $fillable = ['cust_sys_id', 'field_id', 'value']; |
||
10 | protected $hidden = ['id', 'created_at', 'updated_at', 'SystemDataFields']; |
||
11 | protected $appends = ['data_field_name']; |
||
12 | |||
13 | 4 | public function SystemDataFields() |
|
16 | } |
||
17 | |||
18 | 4 | public function getDataFieldNameAttribute() |
|
23 |