sample_task_list_req.dart 838 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import 'package:json_annotation/json_annotation.dart';
  2. part 'sample_task_list_req.g.dart';
  3. @JsonSerializable()
  4. class SampleTaskListReq {
  5. /// 页码
  6. int pageNo;
  7. /// 条目
  8. int pageSize;
  9. /// 任务单任务状态:0是待扦样,1已扦样
  10. int? deliveryStatus;
  11. /// 环节类型:1收获环节,2库存环节
  12. int? rwlx;
  13. /// 采样品种名称
  14. String? cypzName;
  15. /// 检验指标
  16. int? sjbj;
  17. /// 样品等级
  18. int? ypdj;
  19. /// 行政区划
  20. String? qydq;
  21. SampleTaskListReq({
  22. this.pageNo = 1,
  23. this.pageSize = 10,
  24. this.deliveryStatus,
  25. this.rwlx,
  26. this.cypzName,
  27. this.sjbj,
  28. this.ypdj,
  29. this.qydq,
  30. });
  31. factory SampleTaskListReq.fromJson(Map<String, dynamic> json) => _$SampleTaskListReqFromJson(json);
  32. Map<String, dynamic> toJson() => _$SampleTaskListReqToJson(this);
  33. }