| package doumeemes.dao.ext.vo; | 
|   | 
| import doumeemes.dao.business.model.Department; | 
| import doumeemes.dao.business.model.Material; | 
| import doumeemes.dao.business.model.Procedures; | 
| import doumeemes.dao.business.model.Unit; | 
| import doumeemes.dao.system.model.SystemUser; | 
| import doumeemes.core.annotation.excel.ExcelColumn; | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import java.util.Date; | 
|   | 
| import java.io.Serializable; | 
| /** | 
|  * @author 江蹄蹄 | 
|  * @date 2022/04/20 11:01 | 
|  */ | 
| @Data | 
| @ApiModel("生产计划列表对象") | 
| public class PlansExtListVO implements Serializable{ | 
|   | 
|     @ApiModelProperty(value = "主键", example = "1") | 
|     private Integer id; | 
|   | 
|     @ApiModelProperty(value = "是否已删除 0未删除 1已删除", example = "1") | 
|     private Integer 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 = "来源 0人工创建、1Excel导入、2计划程序生成", example = "1") | 
|     private Integer origin; | 
|   | 
|     @ApiModelProperty(value = "是否暂停 0未暂停 1已暂停", example = "1") | 
|     private Integer paused; | 
|   | 
|     @ApiModelProperty(value = "计划日期") | 
|     @ExcelColumn(name="计划日期",index = 3,width =15) | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date planDate; | 
|   | 
|     @ApiModelProperty(value = "物料编码(关联material_distribute表)", example = "1") | 
|     private Integer materialId; | 
|   | 
|     @ApiModelProperty(value = "数量统计信息,json格式") | 
|     private String statisticInfo; | 
|   | 
|     @ApiModelProperty(value = "待分配生产数量", example = "1",hidden = true) | 
|     private Integer lessDistributNum; | 
|   | 
|     @ApiModelProperty(value = "计划类型 0正常1异常2返工", example = "1") | 
|     @ExcelColumn(name="计划类型",valueMapping = "0=正常;1=异常;2=返工;",index = 12,width =15) | 
|     private Integer type; | 
|   | 
|     @ApiModelProperty(value = "生产工序编码(关联procedures表)", example = "1") | 
|     private Integer procedureId; | 
|   | 
|     @ApiModelProperty(value = "生产工厂机级组织编码(关联department表)", example = "1") | 
|     private Integer factoryId; | 
|   | 
|     @ApiModelProperty(value = "单位编码(关联unit_distribute表)", example = "1") | 
|     private Integer unitId; | 
|   | 
|     @ApiModelProperty(value = "计划数量", example = "1") | 
|     @ExcelColumn(name="计划数量",index = 7,width =15) | 
|     private Integer num; | 
|   | 
|     @ApiModelProperty(value = "批次号") | 
|     @ExcelColumn(name="生产批次号",index = 9,width =15) | 
|     private String batch; | 
|   | 
|     @ApiModelProperty(value = "优先级(排序码)字段", example = "1") | 
|     @ExcelColumn(name="优先级",index = 10,width =15) | 
|     private Integer urgent; | 
|   | 
|     @ApiModelProperty(value = "导入批号(关联plan_import表)", example = "1") | 
|     private Integer importId; | 
|   | 
|     @ApiModelProperty(value = "计划员编码(与system_user表关联)", example = "1") | 
|     private Integer userId; | 
|   | 
|     @ApiModelProperty(value = "状态 0已生成、1已发布、2已撤回、3已取消、4已分配、5已暂停、6已完工、7已入库、8已关闭", example = "1") | 
|     @ExcelColumn(name="计划状态",valueMapping = "0=已生成;1=已发布;2=已撤回;3=已取消;4=已分配;5=已暂停;6=已完工;7=已入库;8=已关闭;",index = 11,width =15) | 
|     private Integer status; | 
|   | 
|     @ApiModelProperty(value = "返修申请单号(关联backorder表)", example = "1") | 
|     private Integer backorderId; | 
|   | 
|     @ApiModelProperty(value = "计划发布时间") | 
|     @ExcelColumn(name="发布日期",index = 16,width =15) | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date publishDate; | 
|   | 
|     @ApiModelProperty(value = "系统-组织信息表信息") | 
|     private Department dmodel; | 
|   | 
|     @ApiModelProperty(value = "物料基本信息表信息") | 
|     private Material mmodel; | 
|   | 
|     @ApiModelProperty(value = "工序信息表信息") | 
|     private Procedures pmodel; | 
|   | 
|     @ApiModelProperty(value = "系统-组织信息表信息") | 
|     private Department fmodel; | 
|   | 
|     @ApiModelProperty(value = "物料单位信息表信息") | 
|     private Unit umodel; | 
|   | 
|     @ApiModelProperty(value = "系统用户信息表信息") | 
|     private SystemUser usermodel; | 
|     @ApiModelProperty(value = "已完工数量", example = "0") | 
|     private Integer  doneNum; | 
|     @ApiModelProperty(value = "合格数量", example = "0") | 
|     @ExcelColumn(name="合格数量",index = 14,width =15) | 
|     private Integer  qulifiedNum; | 
|     @ApiModelProperty(value = "不良数量", example = "0") | 
|     @ExcelColumn(name="不良数量",index = 15,width =15) | 
|     private Integer  unqulifiedNum; | 
|     @ApiModelProperty(value = "已分配生产数量", example = "1",hidden = true) | 
|     private Integer distributNum; | 
|     @ApiModelProperty(value = "工单已分配生产数量", example = "1",hidden = true) | 
|     private Integer workorderDistributNum; | 
|     @ApiModelProperty(value = "已分配未完工生产数量", example = "1",hidden = true) | 
|     @ExcelColumn(name="已分配未完工生产数量",index = 13,width =15) | 
|     private Integer distributNoDoneNum; | 
|     @ApiModelProperty(value = "库存是否满足 0不满足 1满足", example = "0") | 
|     private Integer  isStock; | 
|     @ApiModelProperty(value = "是否延期") | 
|     private Boolean hasExpire; | 
|     @ApiModelProperty(value = "成品计划开始日期") | 
|     @ExcelColumn(name="计划日期",index = 4,width =15) | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private  Date workPlanPlanDate; | 
|     @ApiModelProperty(value = "成品计划开始日期") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private  Date workPlanStartDate; | 
|   | 
|   | 
|     @ExcelColumn(name="物料名称",index = 1,width =15) | 
|     private String materialName; | 
|   | 
|     @ExcelColumn(name="物料编码",index = 2,width =15) | 
|     private String materialCode; | 
|   | 
|     @ExcelColumn(name="工厂",index = 5,width =15) | 
|     private String factoryName; | 
|   | 
|     @ExcelColumn(name="工序",index = 6,width =15) | 
|     private String produceName; | 
|   | 
|     @ExcelColumn(name="计划员",index = 17,width =15) | 
|     private String planUserName; | 
|   | 
|     @ExcelColumn(name="单位名称",index = 8,width =15) | 
|     private String unitName; | 
|   | 
|     @ExcelColumn(name="成品计划编码") | 
|     private String workPlanCode; | 
|   | 
|     @ExcelColumn(name="销售订单") | 
|     private String salesOrder; | 
|   | 
|     @ApiModelProperty(value = "成品计划结束时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date workPlanEndDate; | 
|   | 
|     @ApiModelProperty(value = "已生产数量") | 
|     private Integer produceNum; | 
|   | 
|     @ApiModelProperty(value = "是否有bom配置 0无 1有", example = "1") | 
|     private Integer hasBom; | 
|     @ApiModelProperty(value = "bom投料方式 0推式 1拉式", example = "1") | 
|     private Integer bomType; | 
|   | 
| } |