2026-06-29 940c8481d2fdcf51341db4ccd6fd6fcc2d43debb
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
package cn.iocoder.yudao.module.mdm.dal.dataobject.category;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
 
/**
 * MDM 物料分类 DO
 *
 * @author 芋道源码
 */
@TableName("md_item_category")
@KeySequence("md_item_category_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MdmItemCategoryDO extends BaseDO {
 
    /**
     * 分类编号
     */
    @TableId
    private Long id;
 
    /**
     * 父分类编号(根节点=0)
     */
    private Long parentId;
 
    /**
     * 分类编码
     */
    private String code;
 
    /**
     * 分类名称
     */
    private String name;
 
    /**
     * 适用物料类型
     *
     * 1: 原料
     * 2: 半成品
     * 3: 成品
     * 4: 辅料
     * NULL: 全部
     */
    private Integer itemType;
 
    /**
     * 排序
     */
    private Integer sort;
 
    /**
     * 状态
     *
     * 枚举 {@link cn.iocoder.yudao.framework.common.enums.CommonStatusEnum}
     */
    private Integer status;
 
    /**
     * 备注
     */
    private String remark;
 
}