part of '../game.dart';

@freezed
class Game with _$Game {
  const factory Game({
    required String id,
    required String name,
    required String type,
    required bool isActive,
    required Map<String, dynamic> metadata,
    required String createdAt,
    required String updatedAt,
  }) = _Game;

  factory Game.empty() => const Game(
    id: '',
    name: '',
    type: '',
    isActive: false,
    metadata: {},
    createdAt: '',
    updatedAt: '',
  );
}
