package com.gkhy.safePlatform.specialWork.model.dto.req;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
public class MaterialDetailAddReqDTO {
|
|
|
/**
|
* 默认值
|
*/
|
@NotNull(message = "标准值不可为空!")
|
private Integer standVal;
|
/**
|
* 配置级别(0 必选,1 可选,2 高配)
|
*/
|
@NotNull(message = "配置级别不可为空!")
|
private Byte configurationLevel;
|
|
/**
|
* 物资种类id
|
* @return
|
*/
|
@NotNull(message = "物资种类不可为空!")
|
private Long smallClassifyId;
|
|
/**
|
* 是否是耗材(0是,1否)
|
*/
|
@NotNull(message = "是否是耗材不可为空!")
|
private Byte consumable;
|
|
public void setStandVal(Integer standVal) {
|
this.standVal = standVal;
|
}
|
|
public Byte getConsumable() {
|
return consumable;
|
}
|
|
public void setConsumable(Byte consumable) {
|
this.consumable = consumable;
|
}
|
|
public Byte getConfigurationLevel() {
|
return configurationLevel;
|
}
|
|
public void setConfigurationLevel(Byte configurationLevel) {
|
this.configurationLevel = configurationLevel;
|
}
|
|
public Integer getStandVal() {
|
return standVal;
|
}
|
|
public void setStandtVal(Integer standtVal) {
|
this.standVal = standVal;
|
}
|
|
public Long getSmallClassifyId() {
|
return smallClassifyId;
|
}
|
|
public void setSmallClassifyId(Long smallClassifyId) {
|
this.smallClassifyId = smallClassifyId;
|
}
|
}
|