|
|
@ -8,10 +8,7 @@ import lombok.EqualsAndHashCode;
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
import javax.persistence.*;
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
|
|
|
import javax.persistence.Transient;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -26,30 +23,33 @@ import java.util.List;
|
|
|
|
@DynamicInsert
|
|
|
|
@DynamicInsert
|
|
|
|
@DynamicUpdate
|
|
|
|
@DynamicUpdate
|
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
|
@Table(name="MES_DEFECT_RECORD")
|
|
|
|
@Table(name = "MES_DEFECT_RECORD", indexes = {
|
|
|
|
|
|
|
|
@Index(columnList = "SERIAL_NUMBER"),
|
|
|
|
|
|
|
|
@Index(columnList = "CREATE_DATE_TIME")
|
|
|
|
|
|
|
|
})
|
|
|
|
@Api("不良信息记录表")
|
|
|
|
@Api("不良信息记录表")
|
|
|
|
public class MesDefectRecord extends BaseBean {
|
|
|
|
public class MesDefectRecord extends BaseBean {
|
|
|
|
@Column(name="SERIAL_NUMBER")
|
|
|
|
@Column(name = "SERIAL_NUMBER")
|
|
|
|
@ApiParam("产品条码")
|
|
|
|
@ApiParam("产品条码")
|
|
|
|
private String serialNumber;
|
|
|
|
private String serialNumber;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name="PART_NO")
|
|
|
|
@Column(name = "PART_NO")
|
|
|
|
@ApiParam("物料号")
|
|
|
|
@ApiParam("物料号")
|
|
|
|
private String partNo;
|
|
|
|
private String partNo;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name="PART_NAME")
|
|
|
|
@Column(name = "PART_NAME")
|
|
|
|
@ApiParam("物料名称")
|
|
|
|
@ApiParam("物料名称")
|
|
|
|
private String partName;
|
|
|
|
private String partName;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name="DEFECT_CODE")
|
|
|
|
@Column(name = "DEFECT_CODE")
|
|
|
|
@ApiParam("缺陷代码")
|
|
|
|
@ApiParam("缺陷代码")
|
|
|
|
private String defectCode;
|
|
|
|
private String defectCode;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name="DEFECT_NAME")
|
|
|
|
@Column(name = "DEFECT_NAME")
|
|
|
|
@ApiParam("缺陷名称")
|
|
|
|
@ApiParam("缺陷名称")
|
|
|
|
private String defectName;
|
|
|
|
private String defectName;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name="DEFECT_LOCATION")
|
|
|
|
@Column(name = "DEFECT_LOCATION")
|
|
|
|
@ApiParam("缺陷位置")
|
|
|
|
@ApiParam("缺陷位置")
|
|
|
|
private String defectLocation;
|
|
|
|
private String defectLocation;
|
|
|
|
|
|
|
|
|
|
|
@ -57,19 +57,19 @@ public class MesDefectRecord extends BaseBean {
|
|
|
|
@ApiParam("面位")
|
|
|
|
@ApiParam("面位")
|
|
|
|
private String sideLocation;
|
|
|
|
private String sideLocation;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name="REPAIR_STATUS")
|
|
|
|
@Column(name = "REPAIR_STATUS")
|
|
|
|
@ApiParam("维修状态")
|
|
|
|
@ApiParam("维修状态")
|
|
|
|
private Integer repairStatus;
|
|
|
|
private Integer repairStatus;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name="WORK_CENTER_CODE")
|
|
|
|
@Column(name = "WORK_CENTER_CODE")
|
|
|
|
@ApiParam("工作中心代码")
|
|
|
|
@ApiParam("工作中心代码")
|
|
|
|
private String workCenterCode;
|
|
|
|
private String workCenterCode;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name="WORK_CELL_CODE")
|
|
|
|
@Column(name = "WORK_CELL_CODE")
|
|
|
|
@ApiParam("工作单元代码")
|
|
|
|
@ApiParam("工作单元代码")
|
|
|
|
private String workCellCode;
|
|
|
|
private String workCellCode;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name="MEMO")
|
|
|
|
@Column(name = "MEMO")
|
|
|
|
@ApiParam("备注")
|
|
|
|
@ApiParam("备注")
|
|
|
|
private String memo;
|
|
|
|
private String memo;
|
|
|
|
|
|
|
|
|
|
|
|