1: <?php
2:
3: namespace Aurora\Modules\SharedFiles\Models;
4:
5: use Aurora\System\Classes\Model;
6:
7: class SharedFile extends Model
8: {
9: protected $table = 'adav_sharedfiles';
10:
11: /**
12: * The primary key for the model.
13: *
14: * @var string
15: */
16: protected $primaryKey = 'id';
17:
18: /**
19: * The attributes that are mass assignable.
20: *
21: * @var array
22: */
23: protected $fillable = [
24: 'id',
25: 'storage',
26: 'path',
27: 'uid',
28: 'owner',
29: 'principaluri',
30: 'initiator',
31: 'access',
32: 'isdir',
33: 'share_path',
34: 'group_id',
35: 'Properties'
36: ];
37:
38: /**
39: * The attributes that should be hidden for arrays.
40: *
41: * @var array
42: */
43: protected $hidden = [
44: ];
45:
46: protected $casts = [
47: 'Properties' => 'array',
48: ];
49:
50: protected $attributes = [
51: ];
52:
53: protected $appends = [
54: ];
55:
56: public $timestamps = false;
57: }
58: