135 lines
3.0 KiB
Java
Raw Normal View History

2022-02-12 08:48:57 +08:00
package com.xkrs.model.entity;
import javax.persistence.*;
/**
* @Author: XinYi Song
* @Date: 2022/1/19 14:08
*/
@Entity
2022-02-28 20:28:22 +08:00
@Table(name = "qc_inspection_data_source")
2022-02-12 08:48:57 +08:00
public class DataSource {
2022-02-28 20:28:22 +08:00
2022-02-12 08:48:57 +08:00
/**
* 主键id
*/
@Id
2022-02-28 20:28:22 +08:00
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "qc_inspection_data_source_seq_gen")
@SequenceGenerator(name = "qc_inspection_data_source_seq_gen", sequenceName = "qc_inspection_data_source_id_seq", allocationSize = 1)
2022-02-12 08:48:57 +08:00
private Integer id;
/**
2022-02-28 20:28:22 +08:00
* 批次号
2022-02-12 08:48:57 +08:00
*/
2022-02-28 20:28:22 +08:00
@Column(length = 85, columnDefinition = "varchar(85)")
private String lotNo;
2022-02-12 08:48:57 +08:00
/**
2022-02-28 20:28:22 +08:00
* 机器号
2022-02-12 08:48:57 +08:00
*/
2022-02-28 20:28:22 +08:00
@Column(length = 85, columnDefinition = "varchar(85)")
private String machineNo;
2022-02-12 08:48:57 +08:00
/**
2022-02-28 20:28:22 +08:00
* 物料号
2022-02-12 08:48:57 +08:00
*/
2022-02-28 20:28:22 +08:00
@Column(length = 85, columnDefinition = "varchar(85)")
private String materialNo;
2022-02-12 08:48:57 +08:00
2022-02-25 08:40:50 +08:00
/**
2022-02-28 20:28:22 +08:00
* 模具号
2022-02-25 08:40:50 +08:00
*/
2022-02-28 20:28:22 +08:00
@Column(length = 85, columnDefinition = "varchar(85)")
private String modelNo;
2022-02-25 08:40:50 +08:00
2022-02-12 08:48:57 +08:00
/**
2022-02-28 20:28:22 +08:00
* 零件号
2022-02-12 08:48:57 +08:00
*/
@Column(length = 85, columnDefinition = "varchar(85)")
2022-02-28 20:28:22 +08:00
private String partNo;
2022-02-12 08:48:57 +08:00
/**
2022-02-28 20:28:22 +08:00
* 检验项代码
2022-02-12 08:48:57 +08:00
*/
@Column(length = 85, columnDefinition = "varchar(85)")
2022-02-28 20:28:22 +08:00
private String inspectionItemCode;
2022-02-12 08:48:57 +08:00
2022-02-28 20:28:22 +08:00
/**
* 检验数值
*/
@Column(length = 85, columnDefinition = "varchar(85)")
private String inspectValue;
2022-02-12 08:48:57 +08:00
2022-02-28 20:28:22 +08:00
public DataSource() {
2022-02-12 08:48:57 +08:00
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
2022-02-28 20:28:22 +08:00
public String getLotNo() {
return lotNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 20:28:22 +08:00
public void setLotNo(String lotNo) {
this.lotNo = lotNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 20:28:22 +08:00
public String getMachineNo() {
return machineNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 20:28:22 +08:00
public void setMachineNo(String machineNo) {
this.machineNo = machineNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 20:28:22 +08:00
public String getMaterialNo() {
return materialNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 20:28:22 +08:00
public void setMaterialNo(String materialNo) {
this.materialNo = materialNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 20:28:22 +08:00
public String getModelNo() {
return modelNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 20:28:22 +08:00
public void setModelNo(String modelNo) {
this.modelNo = modelNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 20:28:22 +08:00
public String getPartNo() {
return partNo;
2022-02-25 08:40:50 +08:00
}
2022-02-28 20:28:22 +08:00
public void setPartNo(String partNo) {
this.partNo = partNo;
2022-02-25 08:40:50 +08:00
}
2022-02-28 20:28:22 +08:00
public String getInspectionItemCode() {
return inspectionItemCode;
2022-02-12 08:48:57 +08:00
}
2022-02-28 20:28:22 +08:00
public void setInspectionItemCode(String inspectionItemCode) {
this.inspectionItemCode = inspectionItemCode;
2022-02-12 08:48:57 +08:00
}
2022-02-28 20:28:22 +08:00
public String getInspectValue() {
return inspectValue;
2022-02-12 08:48:57 +08:00
}
2022-02-28 20:28:22 +08:00
public void setInspectValue(String inspectValue) {
this.inspectValue = inspectValue;
2022-02-12 08:48:57 +08:00
}
@Override
public String toString() {
2022-02-28 20:40:27 +08:00
return "DataSource{" + "id=" + id + ", lotNo='" + lotNo + '\'' + ", machineNo='" + machineNo + '\'' + ", materialNo='" + materialNo + '\'' + ", modelNo='" + modelNo + '\'' + ", partNo='" + partNo + '\'' + ", inspectionItemCode='" + inspectionItemCode + '\'' + ", inspectValue='" + inspectValue + '\'' + '}';
2022-02-12 08:48:57 +08:00
}
}