12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- import 'package:json_annotation/json_annotation.dart';
- part 'sample_task_list_req.g.dart';
- @JsonSerializable()
- class SampleTaskListReq {
- /// 页码
- int pageNo;
- /// 条目
- int pageSize;
- /// 任务单任务状态:0是待扦样,1已扦样
- int? deliveryStatus;
- /// 环节类型:1收获环节,2库存环节
- int? rwlx;
- /// 采样品种名称
- String? cypzName;
- /// 检验指标
- int? sjbj;
- /// 样品等级
- int? ypdj;
- /// 行政区划
- String? qydq;
- SampleTaskListReq({
- this.pageNo = 1,
- this.pageSize = 10,
- this.deliveryStatus,
- this.rwlx,
- this.cypzName,
- this.sjbj,
- this.ypdj,
- this.qydq,
- });
- factory SampleTaskListReq.fromJson(Map<String, dynamic> json) => _$SampleTaskListReqFromJson(json);
- Map<String, dynamic> toJson() => _$SampleTaskListReqToJson(this);
- }
|