From f7d2f20365467a834188edd35c464d9fb9349214 Mon Sep 17 00:00:00 2001 From: zhangfeng <1603559716@qq.com> Date: 星期五, 23 十二月 2022 08:53:43 +0800 Subject: [PATCH] 安全物资和设备管理调整v2 --- equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialDetailInfoDO.java | 64 +++++++++++++++++++++---------- 1 files changed, 43 insertions(+), 21 deletions(-) diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialDetailInfoDO.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialDetailInfoDO.java index 413842f..7669f3b 100644 --- a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialDetailInfoDO.java +++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialDetailInfoDO.java @@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonFormat; import java.time.LocalDateTime; +import java.util.Date; public class SafeMaterialDetailInfoDO { /** @@ -51,12 +52,16 @@ /** * 保质到期时间 */ - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private LocalDateTime validTime; + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + private Date validTime; /** * 状态 */ private Byte validStatus; + + private Byte status; + + private String remark; /** * 出入库状态 */ @@ -78,12 +83,12 @@ /** * 认领人id */ - private Long claimantId; + private Long receiveUid; /** * 认领人姓名 */ - private String claimantName; + private String receiveUname; public Long getId() { return id; @@ -165,11 +170,11 @@ this.validType = validType; } - public LocalDateTime getValidTime() { + public Date getValidTime() { return validTime; } - public void setValidTime(LocalDateTime validTime) { + public void setValidTime(Date validTime) { this.validTime = validTime; } @@ -213,21 +218,6 @@ this.smId = smId; } - public Long getClaimantId() { - return claimantId; - } - - public void setClaimantId(Long claimantId) { - this.claimantId = claimantId; - } - - public String getClaimantName() { - return claimantName; - } - - public void setClaimantName(String claimantName) { - this.claimantName = claimantName; - } public Long getSmallClassifyId() { return smallClassifyId; @@ -236,4 +226,36 @@ public void setSmallClassifyId(Long smallClassifyId) { this.smallClassifyId = smallClassifyId; } + + public Long getReceiveUid() { + return receiveUid; + } + + public void setReceiveUid(Long receiveUid) { + this.receiveUid = receiveUid; + } + + public String getReceiveUname() { + return receiveUname; + } + + public void setReceiveUname(String receiveUname) { + this.receiveUname = receiveUname; + } + + public Byte getStatus() { + return status; + } + + public void setStatus(Byte status) { + this.status = status; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } } -- Gitblit v1.9.2