zodiac_love_intimacy_love_info_response.dart 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. import 'package:json_annotation/json_annotation.dart';
  2. part 'zodiac_love_intimacy_love_info_response.g.dart';
  3. /// 星座恋爱分析
  4. @JsonSerializable()
  5. class ZodiacLoveIntimacyLoveInfoResponse {
  6. /// 用户头像
  7. @JsonKey(name: "imageUrl")
  8. String? imageUrl;
  9. /// 对方用户头像
  10. @JsonKey(name: "targetImageUrl")
  11. String? targetImageUrl;
  12. /// 用户生日
  13. @JsonKey(name: "birthday")
  14. String? birthday;
  15. /// 对象用户生日
  16. @JsonKey(name: "targetBirthday")
  17. String? targetBirthday;
  18. /// 亲密度
  19. @JsonKey(name: "intimacy")
  20. int? intimacy;
  21. /// 星座梗语
  22. @JsonKey(name: "explain")
  23. String? explain;
  24. /// 用户性别
  25. @JsonKey(name: "gender")
  26. int? gender;
  27. /// 用户性别
  28. @JsonKey(name: "targetGender")
  29. int? targetGender;
  30. /// 梗语标题
  31. @JsonKey(name: "meme")
  32. String? meme;
  33. ZodiacLoveIntimacyLoveInfoResponse(
  34. this.imageUrl,
  35. this.targetImageUrl,
  36. this.birthday,
  37. this.targetBirthday,
  38. this.intimacy,
  39. this.explain,
  40. this.gender,
  41. this.targetGender,
  42. this.meme,
  43. );
  44. factory ZodiacLoveIntimacyLoveInfoResponse.fromJson(
  45. Map<String, dynamic> json,
  46. ) => _$ZodiacLoveIntimacyLoveInfoResponseFromJson(json);
  47. }