1: | <?php |
2: | |
3: | namespace Aurora\Modules\Mail\Models; |
4: | |
5: | use Aurora\System\Classes\Model; |
6: | use Aurora\Modules\Mail\Models\MailAccount; |
7: | |
8: | class RefreshFolder extends Model |
9: | { |
10: | protected $table = 'mail_refresh_folders'; |
11: | |
12: | protected $foreignModel = MailAccount::class; |
13: | protected $foreignModelIdColumn = 'IdAccount'; |
14: | |
15: | |
16: | |
17: | |
18: | |
19: | |
20: | protected $fillable = [ |
21: | 'Id', |
22: | 'IdAccount', |
23: | 'FolderFullName', |
24: | 'Type' |
25: | ]; |
26: | |
27: | |
28: | |
29: | |
30: | |
31: | |
32: | protected $hidden = [ |
33: | ]; |
34: | |
35: | protected $casts = [ |
36: | 'AlwaysRefresh' => 'boolean' |
37: | ]; |
38: | |
39: | protected $attributes = [ |
40: | ]; |
41: | } |
42: | |