Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class CustomerSystems extends Model |
||
9 | { |
||
10 | use SoftDeletes; |
||
11 | |||
12 | protected $primaryKey = 'cust_sys_id'; |
||
13 | protected $fillable = ['cust_id', 'sys_id', 'shared']; |
||
14 | protected $hidden = ['created_at', 'updated_at', 'deleted_at', 'SystemTypes']; |
||
15 | protected $appends = ['sys_name']; |
||
16 | |||
17 | 8 | public function SystemTypes() |
|
20 | } |
||
21 | |||
22 | 6 | public function CustomerSystemData() |
|
25 | } |
||
26 | |||
27 | 8 | public function getSysNameAttribute() |
|
32 |