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/resp/SafeMaterialDto.java | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 150 insertions(+), 0 deletions(-) diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/SafeMaterialDto.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/SafeMaterialDto.java new file mode 100644 index 0000000..c9c14bc --- /dev/null +++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/SafeMaterialDto.java @@ -0,0 +1,150 @@ +package com.gkhy.safePlatform.equipment.model.dto.resp; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; + +public class SafeMaterialDto { + /** + * 主键 + */ + @TableId(type = IdType.AUTO) + private Long id; + /** + * 物资序列号 (如果以后id使用雪花算法时候再启用该字段) + */ + private String serialNum; + /** + * 物资类型id + */ + private Long bigClassifyId; + + private String bigClassifyName; + + private Long smallClassifyId; + /** + * 部门id + */ + private Long depId; + /** + * 部门名称 + */ + private String depName; + /** + * 物资名称 + */ + private String materialName; + /** + * 是否是耗材(0是, 1否) + */ + private Byte consumable; + private String consumableName; + + /** + * 有效库存数量 + */ + private Integer stockCount; + + /** + * 总库存 + * @return + */ + private Integer totalCount; + + 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 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 String getConsumableName() { + return consumableName; + } + + public void setConsumableName(String consumableName) { + this.consumableName = consumableName; + } + + public Integer getStockCount() { + return stockCount; + } + + public void setStockCount(Integer stockCount) { + this.stockCount = stockCount; + } + + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public Long getBigClassifyId() { + return bigClassifyId; + } + + public void setBigClassifyId(Long bigClassifyId) { + this.bigClassifyId = bigClassifyId; + } + + public String getBigClassifyName() { + return bigClassifyName; + } + + public void setBigClassifyName(String bigClassifyName) { + this.bigClassifyName = bigClassifyName; + } + + public Long getSmallClassifyId() { + return smallClassifyId; + } + + public void setSmallClassifyId(Long smallClassifyId) { + this.smallClassifyId = smallClassifyId; + } +} -- Gitblit v1.9.2