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/entity/SafeMaterialInfo.java |  228 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 228 insertions(+), 0 deletions(-)

diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialInfo.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialInfo.java
new file mode 100644
index 0000000..76a9e62
--- /dev/null
+++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialInfo.java
@@ -0,0 +1,228 @@
+package com.gkhy.safePlatform.equipment.entity;
+
+import com.baomidou.mybatisplus.annotation.*;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+@TableName("safe_material")
+public class SafeMaterialInfo implements Serializable {
+
+    private static final long serialVersionUID = -3147326241995464433L;
+
+    /**
+     * 主键
+     */
+    @TableId(type = IdType.AUTO)
+    private Long id;
+    /**
+     * 物资序列号  (如果以后id使用雪花算法时候再启用该字段)
+     */
+    private String serialNum;
+    /**
+     * 物资类型id 大类
+     */
+    private Long bigClassifyId;
+    /**
+     * 物资类型 小类
+     */
+    private Long smallClassifyId;
+    /**
+     * 部门id
+     */
+    private Long depId;
+    /**
+     * 部门名称
+     */
+    private String depName;
+    /**
+     * 物资名称
+     */
+    private String materialName;
+    /**
+     * 是否是耗材(0是, 1否)
+     */
+    private Byte consumable;
+    /**
+     * 有效数量
+     */
+    private Integer totalCount;
+    /**
+     * 库存数量
+     */
+    private Integer stockCount;
+    /**
+     * 删除标识
+     */
+    @TableField(fill = FieldFill.INSERT) //自动填充的注解
+    private int delFlag;
+    /**
+     * 创建人id
+     */
+    @TableField(fill = FieldFill.INSERT) //自动填充的注解
+    private Long createUid;
+    /**
+     * 创建人姓名
+     */
+    @TableField(fill = FieldFill.INSERT) //自动填充的注解
+    private String createUname;
+    /**
+     * 创建时间
+     */
+    @TableField(fill = FieldFill.INSERT) //自动填充的注解
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    public LocalDateTime createTime;
+    /**
+     * 修改人id
+     */
+    @TableField(fill = FieldFill.INSERT_UPDATE) //自动填充的注解
+    private Long updateUid;
+    /**
+     * 修改人姓名
+     */
+    @TableField(fill = FieldFill.INSERT_UPDATE) //自动填充的注解
+    private String updateUname;
+    /**
+     * 修改时间
+     */
+    @TableField(fill = FieldFill.INSERT_UPDATE) //自动填充的注解
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private LocalDateTime updateTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    public String getSerialNum() {
+        return serialNum;
+    }
+
+    public void setSerialNum(String serialNum) {
+        this.serialNum = serialNum;
+    }
+
+    public Long getBigClassifyId() {
+        return bigClassifyId;
+    }
+
+    public void setBigClassifyId(Long bigClassifyId) {
+        this.bigClassifyId = bigClassifyId;
+    }
+
+    public Long getSmallClassifyId() {
+        return smallClassifyId;
+    }
+
+    public void setSmallClassifyId(Long smallClassifyId) {
+        this.smallClassifyId = smallClassifyId;
+    }
+
+    public Long getDepId() {
+        return depId;
+    }
+
+    public void setDepId(Long depId) {
+        this.depId = depId;
+    }
+
+    public String getDepName() {
+        return depName;
+    }
+
+    public void setDepName(String depName) {
+        this.depName = depName;
+    }
+
+    public String getMaterialName() {
+        return materialName;
+    }
+
+    public void setMaterialName(String materialName) {
+        this.materialName = materialName;
+    }
+
+    public Byte getConsumable() {
+        return consumable;
+    }
+
+    public void setConsumable(Byte consumable) {
+        this.consumable = consumable;
+    }
+
+    public int getDelFlag() {
+        return delFlag;
+    }
+
+    public void setDelFlag(int delFlag) {
+        this.delFlag = delFlag;
+    }
+
+    public Long getCreateUid() {
+        return createUid;
+    }
+
+    public void setCreateUid(Long createUid) {
+        this.createUid = createUid;
+    }
+
+    public String getCreateUname() {
+        return createUname;
+    }
+
+    public void setCreateUname(String createUname) {
+        this.createUname = createUname;
+    }
+
+    public LocalDateTime getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(LocalDateTime createTime) {
+        this.createTime = createTime;
+    }
+
+    public Long getUpdateUid() {
+        return updateUid;
+    }
+
+    public void setUpdateUid(Long updateUid) {
+        this.updateUid = updateUid;
+    }
+
+    public String getUpdateUname() {
+        return updateUname;
+    }
+
+    public void setUpdateUname(String updateUname) {
+        this.updateUname = updateUname;
+    }
+
+    public LocalDateTime getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(LocalDateTime updateTime) {
+        this.updateTime = updateTime;
+    }
+
+    public Integer getTotalCount() {
+        return totalCount;
+    }
+
+    public void setTotalCount(Integer totalCount) {
+        this.totalCount = totalCount;
+    }
+
+    public Integer getStockCount() {
+        return stockCount;
+    }
+
+    public void setStockCount(Integer stockCount) {
+        this.stockCount = stockCount;
+    }
+}

--
Gitblit v1.9.2