From 5bd5f3bcd6d2cb375feb0756505691b551339716 Mon Sep 17 00:00:00 2001 From: zhangfeng <1603559716@qq.com> Date: 星期五, 23 十二月 2022 08:55:23 +0800 Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/safePlatform-out into zf --- equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/SafeMaterialDetailReq.java | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 111 insertions(+), 0 deletions(-) diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/SafeMaterialDetailReq.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/SafeMaterialDetailReq.java new file mode 100644 index 0000000..256e447 --- /dev/null +++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/SafeMaterialDetailReq.java @@ -0,0 +1,111 @@ +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 SafeMaterialDetailReq { + /** + * 主键 + */ + @NotNull(message = "主键不可为空!") + private Long id; + + /** + * 物资类型id + */ + private Long materialClassifyId; + /** + * RFID + */ + private String rfid; + + /** + * 保质期类型 + */ + private Byte validType; + /** + * 保质到期时间 + */ + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + private Date validTime; + /** + * 出入库状态 + */ + private Byte irStatus; + + /** + * 安全物资字表id + */ + private Long smId; + /** + * 认领人id + */ + private Long receiveUid; + + 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 Date getValidTime() { + return validTime; + } + + public void setValidTime(Date 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 getReceiveUid() { + return receiveUid; + } + + public void setReceiveUid(Long receiveUid) { + this.receiveUid = receiveUid; + } +} -- Gitblit v1.9.2