5 use Illuminate\Database\Eloquent\Factories\HasFactory;
6 use Illuminate\Foundation\Auth\User as Authenticatable;
7 use Illuminate\Notifications\Notifiable;
8 use Laravel\Sanctum\HasApiTokens;
11 class User extends Authenticatable
13 use HasApiTokens, HasFactory, Notifiable;
16 * The attributes that are mass assignable.
20 protected $fillable = [
34 * The attributes that should be hidden for serialization.
44 * The attributes that should be cast.
50 'username' => 'string',
51 'discriminator' => 'string',
54 'verified' => 'boolean',
56 'mfa_enabled' => 'boolean',
57 'refresh_token' => 'encrypted',