1
0
Fork 0

app/Models/Card.php: Add cast to jackpot field.

This commit is contained in:
Henrik Hautakoski 2023-03-12 18:43:24 +01:00
parent b7ba158675
commit 6fdcf6aad9

View file

@ -38,6 +38,15 @@ class Card extends Model
'role' 'role'
]; ];
/**
* The attributes that should be cast.
*
* @var array
*/
protected $casts = [
'jackpot' => 'boolean',
];
/** /**
* Get the character that's associated with this card. * Get the character that's associated with this card.
*/ */