diff --git a/src/main/java/com/xkrs/newpro/entity/QcItemEntity.java b/src/main/java/com/xkrs/newpro/entity/QcItemEntity.java new file mode 100644 index 0000000..15eda4c --- /dev/null +++ b/src/main/java/com/xkrs/newpro/entity/QcItemEntity.java @@ -0,0 +1,112 @@ +package com.xkrs.newpro.entity; + +import javax.persistence.*; + +/** + * 质检项 + */ +@Entity +@Table(name = "qc_item") +public class QcItemEntity { + + /** + * 主键id + */ + @Id + @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "qc_item_seq_gen") + @SequenceGenerator(name = "qc_item_seq_gen", sequenceName = "qc_item_id_seq", allocationSize = 1) + private Integer id; + + /** + * 创建时间 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String createTime; + + /** + * 更新时间 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String updateTime; + + /** + * 编号 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String no; + + /** + * 名称 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String name; + + /** + * 类型 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String type; + + public QcItemEntity() { + } + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getCreateTime() { + return createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(String updateTime) { + this.updateTime = updateTime; + } + + public String getNo() { + return no; + } + + public void setNo(String no) { + this.no = no; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @Override + public String toString() { + return "QcItemEntity{" + + "id=" + id + + ", createTime='" + createTime + '\'' + + ", updateTime='" + updateTime + '\'' + + ", no='" + no + '\'' + + ", name='" + name + '\'' + + ", type='" + type + '\'' + + '}'; + } +} diff --git a/src/main/java/com/xkrs/newpro/entity/QcSourceEntity.java b/src/main/java/com/xkrs/newpro/entity/QcSourceEntity.java new file mode 100644 index 0000000..d5989a6 --- /dev/null +++ b/src/main/java/com/xkrs/newpro/entity/QcSourceEntity.java @@ -0,0 +1,154 @@ +package com.xkrs.newpro.entity; + +import javax.persistence.*; + +@Entity +@Table(name = "qc_source") +public class QcSourceEntity { + + /** + * 主键id + */ + @Id + @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "qc_source_seq_gen") + @SequenceGenerator(name = "qc_source_seq_gen", sequenceName = "qc_source_id_seq", allocationSize = 1) + private Integer id; + + /** + * 创建时间 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String createTime; + + /** + * 批次号 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String batchNo; + + /** + * 机器号 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String machineNo; + + /** + * 物料号 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String materialNo; + + /** + * 模具号 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String mouldNo; + + /** + * 机种号 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String varietyNo; + + /** + * 质检项编号 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String qcItemNo; + + /** + * 数值 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String qcValue; + + public QcSourceEntity() { + } + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getCreateTime() { + return createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getBatchNo() { + return batchNo; + } + + public void setBatchNo(String batchNo) { + this.batchNo = batchNo; + } + + public String getMachineNo() { + return machineNo; + } + + public void setMachineNo(String machineNo) { + this.machineNo = machineNo; + } + + public String getMaterialNo() { + return materialNo; + } + + public void setMaterialNo(String materialNo) { + this.materialNo = materialNo; + } + + public String getMouldNo() { + return mouldNo; + } + + public void setMouldNo(String mouldNo) { + this.mouldNo = mouldNo; + } + + public String getVarietyNo() { + return varietyNo; + } + + public void setVarietyNo(String varietyNo) { + this.varietyNo = varietyNo; + } + + public String getQcItemNo() { + return qcItemNo; + } + + public void setQcItemNo(String qcItemNo) { + this.qcItemNo = qcItemNo; + } + + public String getQcValue() { + return qcValue; + } + + public void setQcValue(String qcValue) { + this.qcValue = qcValue; + } + + @Override + public String toString() { + return "QcSourceEntity{" + + "id=" + id + + ", createTime='" + createTime + '\'' + + ", batchNo='" + batchNo + '\'' + + ", machineNo='" + machineNo + '\'' + + ", materialNo='" + materialNo + '\'' + + ", mouldNo='" + mouldNo + '\'' + + ", varietyNo='" + varietyNo + '\'' + + ", qcItemNo='" + qcItemNo + '\'' + + ", qcValue='" + qcValue + '\'' + + '}'; + } +} diff --git a/src/main/java/com/xkrs/newpro/entity/QcSpecEntity.java b/src/main/java/com/xkrs/newpro/entity/QcSpecEntity.java new file mode 100644 index 0000000..dfb8e46 --- /dev/null +++ b/src/main/java/com/xkrs/newpro/entity/QcSpecEntity.java @@ -0,0 +1,199 @@ +package com.xkrs.newpro.entity; + +import javax.persistence.*; + +@Entity +@Table(name = "qc_spec") +public class QcSpecEntity { + + /** + * 主键id + */ + @Id + @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "qc_spec_seq_gen") + @SequenceGenerator(name = "qc_spec_seq_gen", sequenceName = "qc_spec_id_seq", allocationSize = 1) + private Integer id; + + /** + * 创建时间 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String createTime; + + /** + * 更新时间 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String updateTime; + + /** + * 机种号 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String varietyNo; + + /** + * 质检项编号 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String qcItemNo; + + /** + * 最大值 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String max; + + /** + * 平均值 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String mean; + + /** + * 最小值 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String min; + + /** + * 单位 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String unit; + + /** + * 检验方法 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String method; + + /** + * 检验标准 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String standard; + + /** + * 备注 + */ + @Column(length = 85, columnDefinition = "varchar(85)") + private String remark; + + public QcSpecEntity() { + } + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getCreateTime() { + return createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(String updateTime) { + this.updateTime = updateTime; + } + + public String getVarietyNo() { + return varietyNo; + } + + public void setVarietyNo(String varietyNo) { + this.varietyNo = varietyNo; + } + + public String getQcItemNo() { + return qcItemNo; + } + + public void setQcItemNo(String qcItemNo) { + this.qcItemNo = qcItemNo; + } + + public String getMax() { + return max; + } + + public void setMax(String max) { + this.max = max; + } + + public String getMean() { + return mean; + } + + public void setMean(String mean) { + this.mean = mean; + } + + public String getMin() { + return min; + } + + public void setMin(String min) { + this.min = min; + } + + public String getUnit() { + return unit; + } + + public void setUnit(String unit) { + this.unit = unit; + } + + public String getMethod() { + return method; + } + + public void setMethod(String method) { + this.method = method; + } + + public String getStandard() { + return standard; + } + + public void setStandard(String standard) { + this.standard = standard; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + @Override + public String toString() { + return "QcSpecEntity{" + + "id=" + id + + ", createTime='" + createTime + '\'' + + ", updateTime='" + updateTime + '\'' + + ", varietyNo='" + varietyNo + '\'' + + ", qcItemNo='" + qcItemNo + '\'' + + ", max='" + max + '\'' + + ", mean='" + mean + '\'' + + ", min='" + min + '\'' + + ", unit='" + unit + '\'' + + ", method='" + method + '\'' + + ", standard='" + standard + '\'' + + ", remark='" + remark + '\'' + + '}'; + } +}