114 lines
2.5 KiB
Java
Raw Normal View History

2022-02-12 08:48:57 +08:00
package com.xkrs.model.qo;
import com.xkrs.model.validation.DataSourceQoInsert;
import javax.validation.constraints.NotBlank;
/**
* @Author: XinYi Song
* @Date: 2022/1/19 16:37
*/
public class DataSourceQo {
/**
* 批次号
*/
2022-02-28 21:32:34 +08:00
@NotBlank(message = "{DataSource.lotNo.blank}", groups = {DataSourceQoInsert.class})
private String lotNo;
2022-02-12 08:48:57 +08:00
/**
* 机器号
*/
2022-02-28 21:32:34 +08:00
@NotBlank(message = "{DataSource.machineNo.blank}", groups = {DataSourceQoInsert.class})
private String machineNo;
2022-02-12 08:48:57 +08:00
/**
2022-02-28 21:32:34 +08:00
* 物料号
2022-02-12 08:48:57 +08:00
*/
2022-02-28 21:32:34 +08:00
@NotBlank(message = "{DataSource.materialNo.blank}", groups = {DataSourceQoInsert.class})
private String materialNo;
2022-02-12 08:48:57 +08:00
2022-02-25 08:40:50 +08:00
/**
2022-02-28 21:32:34 +08:00
* 模具号
2022-02-25 08:40:50 +08:00
*/
2022-02-28 21:32:34 +08:00
@NotBlank(message = "{DataSource.modelNo.blank}", groups = {DataSourceQoInsert.class})
private String modelNo;
2022-02-25 08:40:50 +08:00
2022-02-12 08:48:57 +08:00
/**
2022-02-28 21:32:34 +08:00
* 零件号
2022-02-12 08:48:57 +08:00
*/
2022-02-28 21:32:34 +08:00
@NotBlank(message = "{DataSource.partNo.blank}", groups = {DataSourceQoInsert.class})
private String partNo;
2022-02-12 08:48:57 +08:00
/**
2022-02-28 21:32:34 +08:00
* 检验项代码
2022-02-12 08:48:57 +08:00
*/
2022-02-28 21:32:34 +08:00
@NotBlank(message = "{DataSource.inspectionItemCode.blank}", groups = {DataSourceQoInsert.class})
private String inspectionItemCode;
/**
* 检验数值
*/
@NotBlank(message = "{DataSource.inspectValue.blank}", groups = {DataSourceQoInsert.class})
private String inspectValue;
public DataSourceQo() {
}
2022-02-12 08:48:57 +08:00
2022-02-28 21:32:34 +08:00
public String getLotNo() {
return lotNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 21:32:34 +08:00
public void setLotNo(String lotNo) {
this.lotNo = lotNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 21:32:34 +08:00
public String getMachineNo() {
return machineNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 21:32:34 +08:00
public void setMachineNo(String machineNo) {
this.machineNo = machineNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 21:32:34 +08:00
public String getMaterialNo() {
return materialNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 21:32:34 +08:00
public void setMaterialNo(String materialNo) {
this.materialNo = materialNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 21:32:34 +08:00
public String getModelNo() {
return modelNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 21:32:34 +08:00
public void setModelNo(String modelNo) {
this.modelNo = modelNo;
2022-02-25 08:40:50 +08:00
}
2022-02-28 21:32:34 +08:00
public String getPartNo() {
return partNo;
2022-02-25 08:40:50 +08:00
}
2022-02-28 21:32:34 +08:00
public void setPartNo(String partNo) {
this.partNo = partNo;
2022-02-12 08:48:57 +08:00
}
2022-02-28 21:32:34 +08:00
public String getInspectionItemCode() {
return inspectionItemCode;
2022-02-12 08:48:57 +08:00
}
2022-02-28 21:32:34 +08:00
public void setInspectionItemCode(String inspectionItemCode) {
this.inspectionItemCode = inspectionItemCode;
2022-02-12 08:48:57 +08:00
}
2022-02-28 21:32:34 +08:00
public String getInspectValue() {
return inspectValue;
2022-02-12 08:48:57 +08:00
}
2022-02-28 21:32:34 +08:00
public void setInspectValue(String inspectValue) {
this.inspectValue = inspectValue;
2022-02-12 08:48:57 +08:00
}
}