// نوع میز (از catalog.table_tiers در GET /api/shop).
class TableTier {
  final String id;
  final String title;
  final int hands;
  final int entry;
  final int prize;
  final int xp;
  final int trophy;

  TableTier.fromJson(Map<String, dynamic> j)
      : id = j['id'] as String,
        title = j['title'] as String,
        hands = (j['hands'] ?? 0) as int,
        entry = (j['entry'] ?? 0) as int,
        prize = (j['prize'] ?? 0) as int,
        xp = (j['xp'] ?? 0) as int,
        trophy = (j['trophy'] ?? 0) as int;
}
