Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class FileLinks extends Model |
||
8 | { |
||
9 | protected $primaryKey = 'link_id'; |
||
10 | protected $fillable = ['user_id', 'cust_id', 'link_hash', 'link_name', 'note', 'expire', 'allow_upload']; |
||
11 | protected $casts = [ |
||
12 | 'created_at' => 'datetime:M d, Y', |
||
13 | 'updated_at' => 'datetime:M d, Y', |
||
14 | 'expire' => 'datetime:M d, Y' |
||
15 | ]; |
||
16 | |||
17 | public function getAllowUploadAttribute() |
||
20 | } |
||
21 | |||
22 | public function fileLinkFiles() |
||
27 |