package com.gkhy.safePlatform.equipment.model.dto.req;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import javax.validation.constraints.NotNull;
|
import java.time.LocalDateTime;
|
|
public class SafeMaterialDetailReq {
|
/**
|
* 主键
|
*/
|
@NotNull(message = "主键不可为空!")
|
private Long id;
|
|
/**
|
* 物资类型id
|
*/
|
private Long materialClassifyId;
|
/**
|
* RFID
|
*/
|
private String rfid;
|
|
/**
|
* 保质期类型
|
*/
|
private Byte validType;
|
/**
|
* 保质到期时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime validTime;
|
/**
|
* 出入库状态
|
*/
|
private Byte irStatus;
|
|
/**
|
* 安全物资字表id
|
*/
|
private Long smId;
|
/**
|
* 认领人id
|
*/
|
private Long claimantId;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getMaterialClassifyId() {
|
return materialClassifyId;
|
}
|
|
public void setMaterialClassifyId(Long materialClassifyId) {
|
this.materialClassifyId = materialClassifyId;
|
}
|
|
public String getRfid() {
|
return rfid;
|
}
|
|
public void setRfid(String rfid) {
|
this.rfid = rfid;
|
}
|
|
public Byte getValidType() {
|
return validType;
|
}
|
|
public void setValidType(Byte validType) {
|
this.validType = validType;
|
}
|
|
public LocalDateTime getValidTime() {
|
return validTime;
|
}
|
|
public void setValidTime(LocalDateTime validTime) {
|
this.validTime = validTime;
|
}
|
|
public Byte getIrStatus() {
|
return irStatus;
|
}
|
|
public void setIrStatus(Byte irStatus) {
|
this.irStatus = irStatus;
|
}
|
|
public Long getSmId() {
|
return smId;
|
}
|
|
public void setSmId(Long smId) {
|
this.smId = smId;
|
}
|
|
public Long getClaimantId() {
|
return claimantId;
|
}
|
|
public void setClaimantId(Long claimantId) {
|
this.claimantId = claimantId;
|
}
|
|
}
|