package com.unis.crk.basic.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 油罐信息
 * </p>
 *
 * @author TangSong
 * @since 2021-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BasicTank对象", description="油罐信息")
public class BasicTank implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "油罐id")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "油罐编码")
    @TableField("storageTank_code")
    private String storagetankCode;

    @ApiModelProperty(value = "油罐名称")
    @TableField("storageTank_name")
    private String storagetankName;

    @ApiModelProperty(value = "库区编码")
    private String orgCode;

    @ApiModelProperty(value = "油罐容量(吨)")
    private BigDecimal tankCapacity;

    @ApiModelProperty(value = "创建日期")
    @TableField("createDate")
    private Date createDate;

    @ApiModelProperty(value = "油罐及附属设施是否完好(1：是,0：否,9:其他或不确定)")
    private Integer facilitiesType;

    @ApiModelProperty(value = "有无加热装置(1：有,0：无,9:其他或不确定)")
    private Integer heatingType;

    @ApiModelProperty(value = "油罐类型(1：立式油罐,2：卧式油罐,3：油槽(池),4：地下油罐,5：其他)")
    private Integer tankType;

    @ApiModelProperty(value = "直径")
    private Integer diameter;

    @ApiModelProperty(value = "高度")
    private Integer height;

    @ApiModelProperty(value = "检定方式(1：标定,0：非标定,9:其他或不确定)")
    private Integer checkWay;

    @ApiModelProperty(value = "焊接方式(1：对接,2：搭接,9:其他或不确定)")
    private Integer weldWay;

    @ApiModelProperty(value = "油罐使用情况(1：空仓,2：占用,3：满货位,4：入库中,5：出库中,6：维修,9：其他)")
    private Integer tankApply;

    @ApiModelProperty(value = "油罐状态(1：完好,2：需小修,3：需大修,4：待报废,5：待拆除,6：长期闲置,9：其他)")
    private Integer tankStatus;

    @ApiModelProperty(value = "库级id")
    private String orgId;

    @ApiModelProperty(value = "油罐仓房区分字段")
    private String basicTruckType;

    @ApiModelProperty(value = "删除状态(1.正常，2.删除)")
    private Integer delFlag;

    private Date updatetime;


}
