package doumeemes.dao.business.vo; import cn.afterturn.easypoi.excel.annotation.Excel; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import doumeemes.core.annotation.excel.ExcelColumn; import doumeemes.dao.ext.vo.PlansExtListVO; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; import java.util.Date; import java.util.List; /** * 工单类-成品生产计划信息表 * @author 江蹄蹄 * @since 2023/07/24 15:33 */ @Data @ApiModel("成品计划列表对象") public class WorkPlansVO 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 = "生产工厂机级组织编码(关联department表)", example = "1") private Integer factoryId; @ApiModelProperty(value = "工厂名称", example = "1") @ExcelColumn(name="工厂名称",index = 4,width =15) private String factoryName; @ApiModelProperty(value = "来源 0人工创建、1Excel导入", example = "1") private Integer origin; @ApiModelProperty(value = "计划编码") @ExcelColumn(name="计划编码",index = 0,width =15) private String planCode; @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 = "物料编码", example = "1") @ExcelColumn(name="物料编码",index = 1,width =15) private String materialCode; @ApiModelProperty(value = "物料名称", example = "1") @ExcelColumn(name="物料名称",index = 2,width =15) private String materialName; @ApiModelProperty(value = "单位编码(关联unit_distribute表)", example = "1") private Integer unitId; @ApiModelProperty(value = "单位编码名称", example = "1") @ExcelColumn(name="单位名称",index = 6,width =15) private String unitName; @ApiModelProperty(value = "计划数量", example = "1") @ExcelColumn(name="计划数量",index = 5,width =15) private Integer num; @ApiModelProperty(value = "批次号") @ExcelColumn(name="批次号",index = 7,width =15) private String batch; @ApiModelProperty(value = "状态 1=已生成;2=已发布、3已取消、4已分配、5已暂停、6已完工、7已入库、8已关闭", example = "1") @ExcelColumn(name="计划状态",valueMapping = "0=已生成;1=执行中;3=已取消;4=已分配;5=已暂停;6=已完工;7=已入库;8=已关闭;",index = 8,width =15) private Integer status; @ApiModelProperty(value = "导入批号(关联plan_import表)", example = "1") private Integer importId; @ApiModelProperty(value = "是否暂停 0未暂停 1已暂停", example = "1") @ExcelColumn(name="是否暂停",valueMapping = "0=否;1=是",index = 9,width =15) private Integer paused; @ApiModelProperty(value = "计划员编码(与system_user表关联)", example = "1") private Integer userId; @ApiModelProperty(value = "优先级(排序码)字段", example = "1") private Integer urgent; @ApiModelProperty(value = "计划员姓名", example = "1") @ExcelColumn(name="计划员姓名",index = 14,width =15) private String userName; @ApiModelProperty(value = "计划员手机号", example = "1") @ExcelColumn(name="计划员手机号",index = 15,width =15) private String userMobile; @ApiModelProperty(value = "计划发布时间") @JsonFormat(pattern = "yyyy-MM-dd") @ExcelColumn(name="计划发布时间",index = 13,width =15) private Date publishDate; @ApiModelProperty(value = "用户部门名称", example = "1") private String userDepartName; @ApiModelProperty(value = "完工数量", example = "1") @ExcelColumn(name="完工数量" ,index = 10,width =15) private Integer finishNum; @ApiModelProperty(value = "完工合格数量", example = "1") @ExcelColumn(name="完工合格数量",index = 11,width =15) private Integer finishQualifiedNum; @ApiModelProperty(value = "完工不良数量", example = "1") @ExcelColumn(name="完工不良数量",index = 12,width =15) private Integer finishUnQualifiedNum; @ApiModelProperty(value = "子计划明细信息", example = "1") private List plansExtListVOList; }