package com.gkhy.hazmat.system.domain; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonInclude; import com.gkhy.hazmat.common.domain.BaseEntity; import com.gkhy.hazmat.common.domain.entity.SysUser; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import java.math.BigDecimal; import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL; /** *
* 危化品流向表 *
* * @author kzy * @since 2024-08-05 14:41:40 */ @Getter @Setter @Accessors(chain = true) @TableName("hz_hazmat_flow") @ApiModel(value = "HzHazmatFlow对象", description = "危化品流向表") @JsonInclude(NON_NULL) public class HzHazmatFlow extends BaseEntity { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Long id; @ApiModelProperty("危化品id") @TableField("hazmat_id") private Long hazmatId; @ApiModelProperty("基础数据id") @TableField("basic_id") private Long basicId; @ApiModelProperty("操作状态(1取用,2归还,3标签作废)") @TableField("state") private Integer state; @ApiModelProperty("数量") @TableField("num") private BigDecimal num; @ApiModelProperty("企业id") @TableField("company_id") private Long companyId; @ApiModelProperty("操作人id") @TableField("create_id") private Long createId; @Version @TableField("version") private Integer version; @ApiModelProperty("台账id") @TableField("uuid") private String uuid; @ApiModelProperty("主柜id") @TableField("cabinet_id") private Long cabinetId; @ApiModelProperty("主柜名称") @TableField("cabinet_name") private String cabinetName; @ApiModelProperty("副柜id") @TableField("auxiliary_cabinet_id") private Long auxiliaryCabinetId; @ApiModelProperty("副柜名称") @TableField("auxiliary_cabinet_name") private String auxiliaryCabinetName; @ApiModelProperty("库存所属人") @TableField("owner") private String owner; @ApiModelProperty("化学品分类") @TableField("chemical_type") private String chemicalType; @ApiModelProperty("容器编号") @TableField("container_no") private String containerNo; @ApiModelProperty("用途") @TableField("container_use") private String containerUse; @ApiModelProperty("管控类") @TableField("control_type") private String controlType; @ApiModelProperty("第一操作人") @TableField("u_name_one") private String uNameOne; @ApiModelProperty("第一操作人人脸图片URL") @TableField("facelmg_url") private String facelmgUrl; @ApiModelProperty("第二操作人") @TableField("u_name_two") private String uNameTwo; @ApiModelProperty("第二操作人脸图片URL") @TableField("facelmg_url_two") private String facelmgUrlTwo; @ApiModelProperty("危险化学品分类") @TableField("hazchem_type") private String hazchemType; @ApiModelProperty("操作") @TableField("operate") private String operate; @ApiModelProperty("学院名称") @TableField("org_name") private String orgName; @ApiModelProperty("其他作废原因") @TableField("reason") private String reason; @ApiModelProperty("作废原因 0空瓶 1破损 2过期 3余量不足 4其他") @TableField("reason_id") private Integer reasonId; @ApiModelProperty("化学品类型") @TableField("regulatory") private String regulatory; @ApiModelProperty("实验室名称") @TableField("room_name") private String roomName; @ApiModelProperty("学校名称") @TableField("school_name") private String schoolName; @ApiModelProperty("操作人") @TableField("username") private String username; @ApiModelProperty("重量") @TableField("weight") private BigDecimal weight; @ApiModelProperty("重量单位") @TableField("weight_unit") private String weightUnit; @ApiModelProperty("用量") @TableField("consumption") private BigDecimal consumption; @ApiModelProperty("危化品基础数据对象") @TableField(exist = false) private HzHazmatBasic hazmatBasic; @ApiModelProperty("操作人对象") @TableField(exist = false) private SysUser user; @ApiModelProperty("二维码code") @TableField(exist = false) private String code; }