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="BasicWarehouse对象", description="库中仓房下的货位信息")
public class BasicWarehouse implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "货位ID")
    @TableId(value = "warehouse_id", type = IdType.AUTO)
    private String warehouseId;

    @ApiModelProperty(value = "所属粮库ID")
    private String depotId;

    @ApiModelProperty(value = "所属粮库名称")
    private String depotName;

    @ApiModelProperty(value = "仓房ID")
    private String storehouseId;

    @ApiModelProperty(value = "货位编码")
    private String warehouseCode;

    @ApiModelProperty(value = "货位名称")
    private String warehouseName;

    @ApiModelProperty(value = "货位启用日期")
    private Date warehouseUseTime;

    @ApiModelProperty(value = "货位状态")
    private String warehouseStatus;

    @ApiModelProperty(value = "储粮方式")
    private String storeWay;

    @ApiModelProperty(value = "长度（米）")
    private BigDecimal length;

    @ApiModelProperty(value = "宽度（米）")
    private BigDecimal width;

    @ApiModelProperty(value = "高度（米）")
    private BigDecimal heigth;

    @ApiModelProperty(value = "联系电话")
    private String contactNumber;

    @ApiModelProperty(value = "货位容量（数字，单位吨）")
    private BigDecimal warehouseCapacity;

    @ApiModelProperty(value = "责任保管员")
    @TableField("dutyStoreman")
    private String dutyStoreman;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "货位图")
    private String wareImg;

    @ApiModelProperty(value = "创建人")
    @TableField("createName")
    private String createName;

    @ApiModelProperty(value = "更新人")
    @TableField("updateName")
    private String updateName;

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

    @ApiModelProperty(value = "更新日期")
    @TableField("updateDate")
    private Date updateDate;

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

    private String orgId;

    @ApiModelProperty(value = "库类型，0.主粮库，1.代储点粮库")
    private String libraryType;

    private Date updatetime;

    private String hwbm;

    @ApiModelProperty(value = "货位状态")
    @TableField("crk_status")
    private String crkStatus;
}
