sample_task_list_req.dart 893 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. /// 样品单号
  22. String? qyrwdh;
  23. SampleTaskListReq({
  24. this.pageNo = 1,
  25. this.pageSize = 10,
  26. this.deliveryStatus,
  27. this.rwlx,
  28. this.cypzName,
  29. this.sjbj,
  30. this.ypdj,
  31. this.qydq,
  32. this.qyrwdh,
  33. });
  34. factory SampleTaskListReq.fromJson(Map<String, dynamic> json) => _$SampleTaskListReqFromJson(json);
  35. Map<String, dynamic> toJson() => _$SampleTaskListReqToJson(this);
  36. }