*/ protected $fillable = [ ]; /** * The attributes that should be hidden for serialization. * * @var array */ protected $hidden = [ ]; /** * The attributes that should be cast. * * @var array */ protected $casts = [ 'empire' => EmpireEnum::class, ]; /** * Get the account that owns the player index. */ public function account(): BelongsTo { return $this->belongsTo(Account::class, 'id', 'id'); } }