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