keyboard_love_index_response.dart 720 B

12345678910111213141516171819202122232425262728293031323334
  1. import 'package:json_annotation/json_annotation.dart';
  2. import '../../bean/keyboard_info.dart';
  3. part 'keyboard_love_index_response.g.dart';
  4. @JsonSerializable()
  5. class KeyboardLoveIndexResponse {
  6. // 默契数值
  7. @JsonKey(name: "rapport")
  8. int? rapport;
  9. //激情数值
  10. @JsonKey(name: "passion")
  11. int? passion;
  12. @JsonKey(name: "fetter")
  13. int? fetter;
  14. @JsonKey(name: "promise")
  15. int? promise;
  16. KeyboardLoveIndexResponse({
  17. this.rapport,
  18. this.passion,
  19. this.fetter,
  20. this.promise,
  21. });
  22. factory KeyboardLoveIndexResponse.fromJson(Map<String, dynamic> json) =>
  23. _$KeyboardLoveIndexResponseFromJson(json);
  24. Map<String, dynamic> toJson() => _$KeyboardLoveIndexResponseToJson(this);
  25. }