form_submitted_page_entity.dart 760 B

12345678910111213141516171819202122232425262728
  1. import 'package:domain/entity/form_submitted_entity.dart';
  2. import 'package:domain/generated/json/base/json_field.dart';
  3. import 'package:domain/generated/json/form_submitted_page_entity.g.dart';
  4. import 'dart:convert';
  5. export 'package:domain/generated/json/form_submitted_page_entity.g.dart';
  6. @JsonSerializable()
  7. class FormSubmittedPageEntity {
  8. int count = 0;
  9. int page =0;
  10. int limit =0;
  11. @JSONField(name: "count_page")
  12. int countPage =0;
  13. List<FormSubmittedEntity>? list = [];
  14. FormSubmittedPageEntity();
  15. factory FormSubmittedPageEntity.fromJson(Map<String, dynamic> json) => $FormSubmittedPageEntityFromJson(json);
  16. Map<String, dynamic> toJson() => $FormSubmittedPageEntityToJson(this);
  17. @override
  18. String toString() {
  19. return jsonEncode(this);
  20. }
  21. }