AppealInfo.dart 697 B

123456789101112131415161718192021222324252627
  1. import 'package:json_annotation/json_annotation.dart';
  2. part 'AppealInfo.g.dart';
  3. @JsonSerializable()
  4. class AppealInfo {
  5. AppealInfo.empty();
  6. AppealInfo(this.id, this.delFlag, this.userId, this.playerInfoId, this.competitionId, this.houseId, this.pic, this.status, this.points, this.createTime);
  7. int id;
  8. String delFlag;
  9. int userId;
  10. int playerInfoId;
  11. int competitionId;
  12. int houseId;
  13. String pic;
  14. int status;
  15. int points;
  16. int createTime;
  17. factory AppealInfo.fromJson(Map<String, dynamic> json) => _$AppealInfoFromJson(json);
  18. Map<String, dynamic> toJson() => _$AppealInfoToJson(this);
  19. @override
  20. String toString() {
  21. return _$AppealInfoToJson(this).toString();
  22. }
  23. }