新火炬后端单体项目初始化代码
zhangherong
2025-06-12 6abc1a2fb78003bb1ea6283d813b8ccc0bcd9b2b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
package org.jeecg.modules.base.entity;
 
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.experimental.Accessors;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.common.system.base.controller.JeecgController;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
/**
 * @Description: 仓库
 * @Author: jeecg-boot
 * @Date:   2022-11-07
 * @Version: V1.0
 */
@Data
@TableName("mom_base_warehouse")
@ApiModel(value="mom_base_warehouse对象", description="仓库")
@Accessors(chain = true)
public class Warehouse extends JeecgEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**仓库编码*/
    @Excel(name = "仓库编码", width = 15)
    @ApiModelProperty(value = "仓库编码")
    private String code;
    /**仓库名称*/
    @Excel(name = "仓库名称", width = 15)
    @ApiModelProperty(value = "仓库名称")
    private String name;
    /**是否虚拟,0:是,1:否*/
    @Excel(name = "是否虚拟", width = 15)
    @ApiModelProperty(value = "是否虚拟,0:是,1:否")
    private String status;
    /**版本号*/
    @Excel(name = "版本号", width = 15)
    @ApiModelProperty(value = "版本号")
    private Integer version;
    /**版本数据ID*/
    @Excel(name = "版本数据ID", width = 15)
    @ApiModelProperty(value = "版本数据ID")
    private String dataVersionId;
    /**备用字段1*/
    @ApiModelProperty(value = "备用字段1")
    private String warehouseUda1;
    /**备用字段2*/
    @ApiModelProperty(value = "备用字段2")
    private String warehouseUda2;
    /**备用字段3*/
    @ApiModelProperty(value = "备用字段3")
    private String warehouseUda3;
    /**备用字段4*/
    @ApiModelProperty(value = "备用字段4")
    private String warehouseUda4;
    /**备用字段5*/
    @ApiModelProperty(value = "备用字段5")
    private String warehouseUda5;
 
    /**删除状态(0-正常,1-已删除)*/
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private Integer delFlag = CommonConstant.DEL_FLAG_0;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "企业ID")
    private String enterpriseId;
 
    @ApiModelProperty(value = "仓库类型(字典:warehouse_type)")
    @Dict(dicCode = "warehouse_type")
    private String type;
 
    @ApiModelProperty(value = "是否废品库(字典:whether_waste_warehouse)")
    @Dict(dicCode = "whether_waste_warehouse")
    private String whetherWasteWarehouse;
 
    @ApiModelProperty(value = "库区库位管理(字典:location_manage)")
    @Dict(dicCode = "location_manage")
    private String locationManage;
 
    @ApiModelProperty(value = "是否自动化仓库(字典:whether_automation_warehouse)")
    @Dict(dicCode = "whether_automation_warehouse")
    private String whetherAutomationWarehouse;
 
    @ApiModelProperty(value = "服务对象(字典:service_object)")
    @Dict(dicCode = "service_object")
    private String serviceObject;
}