| package doumeemes.dao.ext.dto; | 
|   | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import java.util.Date; | 
|   | 
| /** | 
|  * @author 江蹄蹄 | 
|  * @since 2023/07/27 13:53 | 
|  */ | 
| @Data | 
| @ApiModel("workPlansExt查询参数") | 
| public class QueryWorkPlansExtDTO { | 
|   | 
|     @ApiModelProperty(value = "主键", example = "1") | 
|     private Integer id; | 
|   | 
|     @ApiModelProperty(value = "是否已删除 0未删除 1已删除", example = "1") | 
|     private Byte deleted; | 
|   | 
|     @ApiModelProperty(value = "创建人编码", example = "1") | 
|     private Integer createUser; | 
|   | 
|     @ApiModelProperty(value = "创建时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date createTime; | 
|   | 
|     @ApiModelProperty(value = "更新人编码", example = "1") | 
|     private Integer updateUser; | 
|   | 
|     @ApiModelProperty(value = "更新时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date updateTime; | 
|   | 
|     @ApiModelProperty(value = "备注") | 
|     private String remark; | 
|   | 
|     @ApiModelProperty(value = "主组织编码(关联department表根组织)", example = "1") | 
|     private Integer rootDepartId; | 
|   | 
|     @ApiModelProperty(value = "公司级组织编码(关联department表)", example = "1") | 
|     private Integer departId; | 
|   | 
|     @ApiModelProperty(value = "生产工厂机级组织编码(关联department表)", example = "1") | 
|     private Integer factoryId; | 
|   | 
|     @ApiModelProperty(value = "来源 0人工创建、1Excel导入", example = "1") | 
|     private Byte origin; | 
|   | 
|     @ApiModelProperty(value = "计划编码") | 
|     private String planCode; | 
|   | 
|     @ApiModelProperty(value = "计划日期") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date planDate; | 
|   | 
|     @ApiModelProperty(value = "物料编码(关联material_distribute表)", example = "1") | 
|     private Integer materialId; | 
|   | 
|     @ApiModelProperty(value = "单位编码(关联unit_distribute表)", example = "1") | 
|     private Integer unitId; | 
|   | 
|     @ApiModelProperty(value = "计划数量", example = "1") | 
|     private Integer num; | 
|     @ApiModelProperty(value = "计划开始日期") | 
|     private Date startDate; | 
|     @ApiModelProperty(value = "销售单号" ) | 
|     private String salesorder; | 
|     @ApiModelProperty(value = "批次号") | 
|     private String batch; | 
|   | 
|     @ApiModelProperty(value = "状态 0已生成、1已发布、2已撤回、3已取消、4已分配、5已暂停、6已完工、7已入库、8已关闭", example = "1") | 
|     private Byte status; | 
|   | 
|     @ApiModelProperty(value = "导入批号(关联plan_import表)", example = "1") | 
|     private Integer importId; | 
|   | 
|     @ApiModelProperty(value = "是否暂停 0未暂停 1已暂停", example = "1") | 
|     private Integer paused; | 
|   | 
|     @ApiModelProperty(value = "计划员编码(与system_user表关联)", example = "1") | 
|     private Integer userId; | 
|   | 
|     @ApiModelProperty(value = "计划发布时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date publishDate; | 
|   | 
| } |