mirror of
https://github.com/ericasch6/scrum-poker-internal.git
synced 2026-10-13 17:12:08 +00:00
Added inern app integration
This commit is contained in:
@@ -22,6 +22,8 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
* @property CarbonImmutable|null $last_activity_at
|
||||
* @property CarbonImmutable|null $closed_at
|
||||
* @property CarbonImmutable|null $deleted_at
|
||||
* @property bool $allow_participants_to_manage_rounds
|
||||
* @property bool $is_persistent
|
||||
* @property int $players_count
|
||||
*/
|
||||
class Room extends Model
|
||||
@@ -37,6 +39,13 @@ class Room extends Model
|
||||
'state_version',
|
||||
'last_activity_at',
|
||||
'closed_at',
|
||||
'allow_participants_to_manage_rounds',
|
||||
'is_persistent',
|
||||
];
|
||||
|
||||
protected $attributes = [
|
||||
'allow_participants_to_manage_rounds' => false,
|
||||
'is_persistent' => false,
|
||||
];
|
||||
|
||||
protected function casts(): array
|
||||
@@ -48,6 +57,8 @@ class Room extends Model
|
||||
'last_activity_at' => 'immutable_datetime',
|
||||
'closed_at' => 'immutable_datetime',
|
||||
'deck_config' => 'array',
|
||||
'allow_participants_to_manage_rounds' => 'boolean',
|
||||
'is_persistent' => 'boolean',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user