| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class CustomerFiles extends Model |
||
| 8 | { |
||
| 9 | protected $primaryKey = 'cust_file_id'; |
||
| 10 | protected $fillable = ['file_id', 'cust_id', 'file_type_id', 'user_id', 'shared', 'name']; |
||
| 11 | protected $hidden = ['file_type_id', 'cust_id', 'user_id']; |
||
| 12 | protected $casts = [ |
||
| 13 | 'created_at' => 'datetime:M d, Y', |
||
| 14 | 'updated_at' => 'datetime:M d, Y' |
||
| 15 | ]; |
||
| 16 | |||
| 17 | public function CustomerFileTypes() |
||
| 20 | } |
||
| 21 | |||
| 22 | public function Files() |
||
| 25 | } |
||
| 26 | |||
| 27 | public function User() |
||
| 32 |