package com.xkrs.model.entity; import javax.persistence.*; @Entity @Table(name = "file") public class QcInspectionFile { /** * 编号 */ @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; /** * 批次号 */ @Column(length = 85, columnDefinition = "varchar(85)") private String lotNo; /** * 机器号 */ @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 modelNo; /** * 零件号 */ @Column(length = 85, columnDefinition = "varchar(85)") private String partNo; /** * 模版路径 */ @Column(length = 85, columnDefinition = "varchar(85)") private String templatePath; /** * 文件路径 */ @Column(length = 85, columnDefinition = "varchar(85)") private String filePath; public QcInspectionFile() { } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getLotNo() { return lotNo; } public void setLotNo(String lotNo) { this.lotNo = lotNo; } 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 getModelNo() { return modelNo; } public void setModelNo(String modelNo) { this.modelNo = modelNo; } public String getPartNo() { return partNo; } public void setPartNo(String partNo) { this.partNo = partNo; } public String getTemplatePath() { return templatePath; } public void setTemplatePath(String templatePath) { this.templatePath = templatePath; } public String getFilePath() { return filePath; } public void setFilePath(String filePath) { this.filePath = filePath; } @Override public String toString() { return "QcInspectionFile{" + "id=" + id + ", lotNo='" + lotNo + '\'' + ", machineNo='" + machineNo + '\'' + ", materialNo='" + materialNo + '\'' + ", modelNo='" + modelNo + '\'' + ", partNo='" + partNo + '\'' + ", templatePath='" + templatePath + '\'' + ", filePath='" + filePath + '\'' + '}'; } }