check_success_entity.dart 692 B

12345678910111213141516171819202122232425
  1. import 'package:domain/generated/json/base/json_field.dart';
  2. import 'package:domain/generated/json/check_success_entity.g.dart';
  3. import 'dart:convert';
  4. export 'package:domain/generated/json/check_success_entity.g.dart';
  5. @JsonSerializable()
  6. class CheckSuccessEntity {
  7. @JSONField(name: "applied_id")
  8. int? appliedId = 0;
  9. @JSONField(name: "check_img")
  10. String? checkImg = '';
  11. @JSONField(name: "check_time")
  12. String? checkTime = '';
  13. CheckSuccessEntity();
  14. factory CheckSuccessEntity.fromJson(Map<String, dynamic> json) => $CheckSuccessEntityFromJson(json);
  15. Map<String, dynamic> toJson() => $CheckSuccessEntityToJson(this);
  16. @override
  17. String toString() {
  18. return jsonEncode(this);
  19. }
  20. }