1: <?php
2:
3: namespace Aurora\Modules\Min\Models;
4:
5: use Aurora\System\Classes\Model;
6: use Aurora\Modules\Core\Models\User;
7:
8: class MinHash extends Model
9: {
10: protected $table = 'core_min_hashes';
11:
12: protected $foreignModel = User::class;
13: protected $foreignModelIdColumn = 'UserId'; // Column that refers to an external table
14:
15: protected $fillable = [
16: 'Id',
17: 'HashId',
18: 'UserId',
19: 'Hash',
20: 'Data',
21: 'ExpireDate'
22: ];
23: }
24: