package doumeemes.dao.ext.vo;
|
|
import doumeemes.core.annotation.excel.ExcelColumn;
|
import doumeemes.dao.business.model.EndcheckDetail;
|
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.util.List;
|
|
/**
|
* @author 江蹄蹄
|
* @since 2022/07/07 16:15
|
*/
|
@Data
|
@ApiModel("工单类-终检检验信息表Ext列表对象")
|
public class EndcheckExtListVO {
|
|
@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 = "更新人编码", example = "1")
|
private Integer updateUser;
|
|
@ApiModelProperty(value = "更新时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date updateTime;
|
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
|
@ApiModelProperty(value = "编码")
|
@ExcelColumn(name="检验记录编号",index = 1,width =15)
|
private String code;
|
|
@ApiModelProperty(value = "创建时间")
|
@ExcelColumn(name="检验时间",index = 2,dateFormat = "yyyy-MM-dd HH:mm:ss",width =15)
|
private Date createTime;
|
|
@ApiModelProperty(value = "检验分类 0终检", example = "1")
|
@ExcelColumn(name="检验类型", valueMapping = "0=终检",index = 3,width =15)
|
private Integer type;
|
|
|
@ApiModelProperty(value = "检验说明")
|
@ExcelColumn(name="检验结果",index = 4,width =15)
|
private String checkInfo;
|
|
@ApiModelProperty(value = "检验类型 0检具检 1外观检", example = "1")
|
@ExcelColumn(name="检验类型",valueMapping = "0=检具检;1=外观检" ,index = 5,width =15)
|
private Integer checkType;
|
|
@ApiModelProperty(value = "检验总数量", example = "1")
|
@ExcelColumn(name="检验数量",index = 6,width =15)
|
private Integer num;
|
|
@ApiModelProperty(value = "工单编码")
|
@ExcelColumn(name="工单编码",index = 7,width =15)
|
private String workOrderCode;
|
|
@ApiModelProperty(value = "物料名称")
|
@ExcelColumn(name="物料名称",index = 8,width =15)
|
private String materialName;
|
|
@ApiModelProperty(value = "物料编码")
|
@ExcelColumn(name="物料编码",index = 9,width =15)
|
private String materialCode;
|
|
@ApiModelProperty(value = "单位名称")
|
@ExcelColumn(name="单位名称",index = 10,width =15)
|
private String unitName;
|
|
@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 = "检验对象编码", example = "1")
|
private Integer objId;
|
|
@ApiModelProperty(value = "检验对象类型 0工单")
|
private String objType;
|
|
@ApiModelProperty(value = "生产工厂机级组织编码(关联department表)", example = "1")
|
private Integer factoryId;
|
|
@ApiModelProperty(value = "生产工序编码(关联route表)", example = "1")
|
private Integer proRouteId;
|
|
@ApiModelProperty(value = "生产设备编码(关联device表)", example = "1")
|
private Integer proDeviceId;
|
|
@ApiModelProperty(value = "生产物料编码(关联material_distribute表)", example = "1")
|
private Integer materialId;
|
|
@ApiModelProperty(value = "物料单位编码(关联unit_distribute表)", example = "1")
|
private Integer unitId;
|
|
@ApiModelProperty(value = "生产日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date proDate;
|
|
@ApiModelProperty(value = "报工类型0合格 1不合格", example = "1")
|
private Byte doneType;
|
|
@ApiModelProperty(value = "检验人名称")
|
private String userName;
|
|
@ApiModelProperty(value = "部门名称")
|
private String departmentName;
|
|
@ApiModelProperty(value = "检验详细信息")
|
List<EndcheckDetail> endCheckDetailList;
|
}
|