package com.shkj.wms.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.shkj.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 库别资料对象 base_storage
 *
 * @author lch
 * @date 2022-04-19
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("base_storage")
public class BaseStorage implements Serializable {

private static final long serialVersionUID=1L;


    /**
     * 库别ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "库别ID", width = 20)
    private Long id;


    /**
     * 库别类型
     */
    @Excel(name = "库别类型", width = 20)
    private String storageType;

    /**
     * 库房编码
     */
    private String storageCode;

    /**
     * 库别名称
     */
    @Excel(name = "库别名称", width = 20)
    private String storageName;

    /**
     * 库别状态
     */
    @Excel(name = "库别状态", width = 20)
    private String storageStatus;

    /**
     * 是否活动
     */
    @Excel(name = "是否活动", width = 20)
    private String isActivity;


    /**
     * 扩展字段1
     */
    @Excel(name = "扩展字段1", width = 20)
    private String extend1;


    /**
     * 扩展字段2
     */
    @Excel(name = "扩展字段2", width = 20)
    private String extend2;


    /**
     * 扩展字段3
     */
    @Excel(name = "扩展字段3", width = 20)
    private String extend3;


    /**
     * 扩展字段4
     */
    @Excel(name = "扩展字段4", width = 20)
    private String extend4;


    /**
     * 扩展字段5
     */
    @Excel(name = "扩展字段5", width = 20)
    private String extend5;


    /**
     * 备注
     */
    @Excel(name = "备注", width = 20)
    private String remark;


    /**
     * 仓ID
     */
    @Excel(name = "仓ID", width = 20)
    private Long branchId;


    /**
     * 删除状态
     */
    @Excel(name = "删除状态", width = 20)
    private String isDel;


    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    @Excel(name = "创建人", width = 20)
    private String createBy;


    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


    /**
     * 修改人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Excel(name = "修改人", width = 20)
    private String updateBy;


}
