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;
|
|
public class SafeMaterialDO {
|
|
|
/**
|
* 主键
|
*/
|
private Long id;
|
/**
|
* 物资序列号 (如果以后id使用雪花算法时候再启用该字段)
|
*/
|
private String serialNum;
|
/**
|
* 物资类型id
|
*/
|
private Long bigClassifyId;
|
|
private String bigClassifyName;
|
|
private Long smallClassifyId;
|
private String smallClassifyName;
|
/**
|
* 部门id
|
*/
|
private Long depId;
|
/**
|
* 部门名称
|
*/
|
private String depName;
|
/**
|
* 物资名称
|
*/
|
private String materialName;
|
/**
|
*
|
*/
|
private Integer totalCount;
|
private Integer stockCount;
|
/**
|
* 是否是耗材(0是, 1否)
|
*/
|
private Byte consumable;
|
/**
|
* 删除标识
|
*/
|
@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 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 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;
|
}
|
|
public String getSmallClassifyName() {
|
return smallClassifyName;
|
}
|
|
public void setSmallClassifyName(String smallClassifyName) {
|
this.smallClassifyName = smallClassifyName;
|
}
|
|
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;
|
}
|
}
|