SteamCloudGame/lib/beans/game_play_times_bean.dart
2024-11-23 15:25:11 +08:00

20 lines
522 B
Dart

import 'package:json_annotation/json_annotation.dart';
part 'game_play_times_bean.g.dart';
///
@JsonSerializable(explicitToJson: true)
class GamePlayTimeBeans {
int? ranking;
int? userId;
String? userName;
String? userIcon;
String? playTime;
GamePlayTimeBeans(this.ranking, this.userId, this.userName, this.userIcon, this.playTime);
factory GamePlayTimeBeans.fromJson(Map<String, dynamic> json) => _$GamePlayTimeBeansFromJson(json);
Map<String, dynamic> toJson() => _$GamePlayTimeBeansToJson(this);
}