package com.gkhy.safePlatform.equipment.model.dto.req;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import javax.validation.constraints.NotNull;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
public class SafeMaterialDetailAddReq {
|
@NotNull(message = "物资不可为空!")
|
private Long smId;
|
private String startRfid;
|
private String endRfid;
|
@NotNull(message = "入库数量不可为空!")
|
private Integer wareHousingCount;
|
@NotNull(message = "有效期类型不可为空!")
|
private Byte validType;
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date validTime;
|
|
//rfid
|
private String rfid;
|
|
public Long getSmId() {
|
return smId;
|
}
|
|
public void setSmId(Long smId) {
|
this.smId = smId;
|
}
|
|
public String getStartRfid() {
|
return startRfid;
|
}
|
|
public void setStartRfid(String startRfid) {
|
this.startRfid = startRfid;
|
}
|
|
public String getEndRfid() {
|
return endRfid;
|
}
|
|
public void setEndRfid(String endRfid) {
|
this.endRfid = endRfid;
|
}
|
|
public Integer getWareHousingCount() {
|
return wareHousingCount;
|
}
|
|
public void setWareHousingCount(Integer wareHousingCount) {
|
this.wareHousingCount = wareHousingCount;
|
}
|
|
public Byte getValidType() {
|
return validType;
|
}
|
|
public void setValidType(Byte validType) {
|
this.validType = validType;
|
}
|
|
public Date getValidTime() {
|
return validTime;
|
}
|
|
public void setValidTime(Date validTime) {
|
this.validTime = validTime;
|
}
|
|
public String getRfid() {
|
return rfid;
|
}
|
|
public void setRfid(String rfid) {
|
this.rfid = rfid;
|
}
|
}
|