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
100
101
102
103
104
105
106
package org.jeecg.modules.base.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
 
import java.io.Serializable;
 
@Data
@TableName("mom_base_material_category")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "物料分类对象", description = "mom_base_material_category")
public class MaterialCategory 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;
    /**
     * 上级分类id
     */
    @Excel(name = "上级分类id", width = 15)
    @ApiModelProperty(value = "上级分类id")
    private String parentId;
 
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 版本号
     */
    @Excel(name = "版本号", width = 15)
    @ApiModelProperty(value = "版本号")
    private Integer version;
 
    /**
     * 版本数据Id
     */
    @Excel(name = "版本数据Id", width = 15)
    @ApiModelProperty(value = "版本数据Id")
    private String dataVersionId;
 
    /**
     * 备用字段1
     */
    @Excel(name = "备用字段1", width = 15)
    @ApiModelProperty(value = "备用字段1")
    private String materialCategoryUda1;
    /**
     * 备用字段2
     */
    @Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private String materialCategoryUda2;
    /**
     * 备用字段3
     */
    @Excel(name = "备用字段3", width = 15)
    @ApiModelProperty(value = "备用字段3")
    private String materialCategoryUda3;
    /**
     * 备用字段4
     */
    @Excel(name = "备用字段4", width = 15)
    @ApiModelProperty(value = "备用字段4")
    private String materialCategoryUda4;
    /**
     * 备用字段5
     */
    @Excel(name = "备用字段5", width = 15)
    @ApiModelProperty(value = "备用字段5")
    private String materialCategoryUda5;
 
    /**
     * 删除状态(0-正常,1-已删除)
     */
    @Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private String delFlag = CommonConstant.DEL_FLAG_0.toString();
 
    /**
     * 版本状态,0:新建,1:编辑,2:生效,3:失效,4:待生效
     */
    @TableField(exist = false)
    private String versionStatus;
}