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 javax.validation.constraints.NotBlank;
import java.util.Date;
import java.io.Serializable;

/**
 * 区域资料对象 base_area
 *
 * @author lch
 * @date 2022-05-13
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("base_area")
public class BaseArea implements Serializable {

private static final long serialVersionUID=1L;


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


    /**
     * 库别ID
     */
    @Excel(name = "库别", width = 20)
    private Long storageId;


    /**
     * 库区code
     */
    @Excel(name = "库区code", width = 20)
    private String areaCode;


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


    /**
     * 拣货方式（pc，pda,RFID）
     */
    @Excel(name = "拣货方式", width = 15 )
    private String pickmode;


    /**
     * 作业方式（零货，整件，整散合一） 0 1 2
     */
    @Excel(name = "作业方式", width = 15 )
    private String taskmode;

    /**
     * 是否参与分拣 1是 0不是
     */
    private String isAppoint;


    /**
     * 作业分组
     */
    @Excel(name = "作业分组", width = 20)
    private String pickgroup;


    /**
     * 是否双人操作
     */
    @Excel(name = "是否双人操作", width = 20)
    private String isDouboper;


    /**
     * 扩展字段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+7")
    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+7")
    private Date updateTime;


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

    @Excel(name = "区域类型", width = 20)
    private  String areaType;

    /**
     * 库区状态是否启用
     */
    @Excel(name = "库区状态", width = 20)
    private  String isActivity;

}
