package doumeemes.dao.ext.vo; import doumeemes.core.annotation.excel.ExcelColumn; import doumeemes.dao.business.model.*; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * @author 江蹄蹄 * @date 2022/04/20 10:56 */ @Data @ApiModel("检验信息列表对象") public class WorkorderCheckExtListVO implements Serializable{ @ApiModelProperty(value = "主键", example = "1") private Integer id; @ApiModelProperty(value = "是否已删除 0未删除 1已删除", example = "1") private Integer deleted; @ApiModelProperty(value = "编号") @ExcelColumn(name="检验记录编号",index = 1,width =15) private String code; @ApiModelProperty(value = "检验日期") @ExcelColumn(name="检验时间",dateFormat = "yyyy-MM-dd HH:mm:ss",index = 2,width =15) // @JsonFormat(pattern = "yyyy-MM-dd") private Date checkDate; @ApiModelProperty(value = "检验人员姓名") @ExcelColumn(name="检验人员",index = 3,width =15) private String smodelRealName; @ApiModelProperty(value = "检验人员联系方式") private String smodelMobile; @ApiModelProperty(value = "工装容器编号") @ExcelColumn(name="工装容器编号",index = 4,width =15) private String amodelcode; @ApiModelProperty(value = "检验合格数量", example = "1") @ExcelColumn(name="合格数量",index = 5,width =15) private String qualifiedNumname; @ApiModelProperty(value = "检验不合格数量", example = "1") @ExcelColumn(name="不良数量",index = 6,width =15) private String unqualifiedNumname; @ApiModelProperty(value = "工单编码)", example = "1") @ExcelColumn(name="工单编码",index = 7,width =15) private String workorderCode; @ApiModelProperty(value = "数量", example = "1") @ExcelColumn(name="生产数量",index = 8,width =15) private String numname; @ApiModelProperty(value = "检验类型 0巡线、1巡检、2终检", example = "1") @ExcelColumn(name="检验类型" ,valueMapping = "0=巡线;1=巡检;2=终检",index = 9,width =15) private String checkTypename; @ApiModelProperty(value = "物料名称", example = "1") @ExcelColumn(name="物料名称" ,index = 10,width =15) private String mmodelname; @ApiModelProperty(value = "物料编码", example = "1") @ExcelColumn(name="物料编码" ,index = 11,width =15) private String mmodelcode; @ApiModelProperty(value = "工序", example = "1") @ExcelColumn(name="工序" ,index = 12,width =15) private String pmodelname; @ApiModelProperty(value = "生产日期") @ExcelColumn(name="完工时间",dateFormat = "yyyy-MM-dd",index = 13,width =15) // @JsonFormat(pattern = "yyyy-MM-dd") private Date proDate; @ApiModelProperty(value = "生产设备", example = "1") @ExcelColumn(name="生产设备" ,index = 14,width =15) private String devmodelname; @ApiModelProperty(value = "检验合格数量", example = "1") private Integer qualifiedNum; @ApiModelProperty(value = "检验不合格数量", example = "1") private Integer unqualifiedNum; @ApiModelProperty(value = "数量", example = "1") private Integer num; @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 = "所属计划编码", example = "1") private Integer planId; @ApiModelProperty(value = "工单编码(关联department表)", example = "1") private Integer workorderId; @ApiModelProperty(value = "批次号") private String batch; @ApiModelProperty(value = "生产工厂机级组织编码(关联department表)", example = "1") private Integer factoryId; @ApiModelProperty(value = "生产工序编码(关联procedures表)", example = "1") private Integer procedureId; @ApiModelProperty(value = "生产设备编码(关联device表)", example = "1") private Integer proDeviceId; @ApiModelProperty(value = "工装编码(关联appliances表)", example = "1") private Integer appliancesId; @ApiModelProperty(value = "生产类型0.投料,1.产出", example = "1") private Integer type; @ApiModelProperty(value = "报工类型0合格 1不良(只有type=1才有值)", example = "1") private Integer doneType; @ApiModelProperty(value = "物料编码(关联material_distribute表)", example = "1") private Integer materialId; @ApiModelProperty(value = "单位编码(关联unit_distribute表)", example = "1") private Integer unitId; @ApiModelProperty(value = "物料批次号") private String materialBatch; @ApiModelProperty(value = "检验方法 0全检 1抽检", example = "1") private Integer checkWay; @ApiModelProperty(value = "检验人员编码", example = "1") private Integer checkUserId; @ApiModelProperty(value = "检验人员部门名称", example = "1") private String checkUserDepartName; @ApiModelProperty(value = "检查范围 0工单 1容器", example = "1") private Integer checkScope; @ApiModelProperty(value = "检验说明") private String checkInfo; @ApiModelProperty(value = "检验不良品工装编码(关联appliances表)") private String qualifiedApplianceId; @ApiModelProperty(value = "检验不良品工装编码") private String qualifiedApplianceCode; @ApiModelProperty(value = "生产人员编码集合([1],[2],...形式存储,优化查询)") private String proUserids; @ApiModelProperty(value = "检验类型 0巡线、1巡检、2终检", example = "1") private Integer checkType; @ApiModelProperty(value = "系统-组织信息表信息") private Department dmodel; @ApiModelProperty(value = "仓库信息表信息") private Warehouse wmodel; @ApiModelProperty(value = "系统-组织信息表信息") private Department fmodel; @ApiModelProperty(value = "工序信息表信息") private Procedures pmodel; @ApiModelProperty(value = "工装器具信息表信息") private Appliances amodel; @ApiModelProperty(value = "生产设备信息表信息") private Device devmodel; @ApiModelProperty(value = "物料基本信息表信息") private Material mmodel; @ApiModelProperty(value = "物料单位信息表信息") private Unit umodel; @ApiModelProperty(value = "工单状态") private Integer workorderstatus; }