ludc
2023-03-30 1dc8a3226e9ccb8b35567a0a55495d53b6352703
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
package com.vci.ubcs.code.entity;
 
 
import com.baomidou.mybatisplus.annotation.TableName;
import com.vci.starter.web.annotation.Column;
import com.vci.starter.web.annotation.Transient;
import com.vci.starter.web.annotation.VciBtmType;
import com.vci.starter.web.annotation.VciUseRefer;
import com.vci.starter.web.constant.FrameWorkLcStatusConstant;
import com.vci.starter.web.model.BaseModel;
import com.vci.ubcs.code.constant.MdmBtmTypeConstant;
 
/**
 * 主题库的分类
 * @author weidy
 * @date 2022-1-14
 */
@VciBtmType(name = MdmBtmTypeConstant.CODE_CLASSIFY,text = "主题库分类",lifeCycle = FrameWorkLcStatusConstant.FRAME_WORK_LIFE_CYCLE_NAME)
@TableName("PL_CODE_CLASSIFY")
public class CodeClassifyDO extends BaseModel {
    /**
     * 序列化
     */
    private static final long serialVersionUID = 2217599544701726951L;
 
    /**
     * 分类的编号
     */
    @Column(nullable = false,columnDefinition = "分类的编号")
    private String id;
 
    /**
     * 分类的名称
     */
    @Column(nullable = false,columnDefinition = "分类的名称")
    private String name;
 
    /**
     * 上级的主键
     */
    @Column(columnDefinition = "上级数据的主键")
    private String parentCodeClassifyOid;
 
    /**
     * 排序号
     */
    @Column(columnDefinition = "排序号",nullable = false)
    private Integer orderNum;
 
    /**
     * 存储的业务类型
     */
    @Column(columnDefinition = "业务类型的编号")
    private String btmTypeId;
 
    /**
     * 存储的业务类型的中文名称
     */
    @Column(columnDefinition = "业务类型的名称")
    private String btmTypeName;
 
    /**
     * 编码规则的主键
     */
    @Column(columnDefinition = "编码规则的主键")
    @VciUseRefer(MdmBtmTypeConstant.CODE_RULE)
    private String codeRuleOid;
 
    /**
     * 编码规则的名称
     */
    @Transient(referColumn = "codeRuleOid.name")
    private String codeRuleOidName;
 
    /**
     * 关键属性查询的规则
     */
    @Column(columnDefinition = "关键属性查询的规则")
    @VciUseRefer(MdmBtmTypeConstant.CODE_KEY_ATTR_REPEAT_RULE)
    private String codeKeyAttrRepeatOid;
 
    /**
     * 关键属性查询的规则名称
     */
    @Transient(referColumn = "codeKeyAttrRepeatOid.name")
    private String codeKeyAttrRepeatOidName;
 
    /**
     * 相似项查询的规则主键
     */
    @Column(columnDefinition = "相似项查询的规则")
    @VciUseRefer(MdmBtmTypeConstant.CODE_RESEMBLE_RULE)
    private String codeResembleRuleOid;
 
    /**
     * 相似项查询规则名称
     */
    @Transient(referColumn = "codeResembleRuleOid.name")
    private String codeResembleRuleOidName;
 
    /**
     * 数据所在的层级
     */
    @Transient
    private Integer dataLevel;
 
    /**
     * 路径
     */
    @Transient
    private String path;
    /***
     * 名称路径
     */
    @Transient
    private String namePath;
    /***
     * 代码路径
     */
    @Transient
    private String idPath;
 
    public String getPath() {
        return path;
    }
 
    public void setPath(String path) {
        this.path = path;
    }
 
    @Override
    public String getId() {
        return id;
    }
 
    @Override
    public void setId(String id) {
        this.id = id;
    }
 
    @Override
    public String getName() {
        return name;
    }
 
    @Override
    public void setName(String name) {
        this.name = name;
    }
 
    public String getParentCodeClassifyOid() {
        return parentCodeClassifyOid;
    }
 
    public void setParentCodeClassifyOid(String parentCodeClassifyOid) {
        this.parentCodeClassifyOid = parentCodeClassifyOid;
    }
 
    public Integer getOrderNum() {
        return orderNum;
    }
 
    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }
 
    public String getBtmTypeId() {
        return btmTypeId;
    }
 
    public void setBtmTypeId(String btmTypeId) {
        this.btmTypeId = btmTypeId;
    }
 
    public String getBtmTypeName() {
        return btmTypeName;
    }
 
    public void setBtmTypeName(String btmTypeName) {
        this.btmTypeName = btmTypeName;
    }
 
    public String getCodeRuleOid() {
        return codeRuleOid;
    }
 
    public void setCodeRuleOid(String codeRuleOid) {
        this.codeRuleOid = codeRuleOid;
    }
 
 
    public String getCodeKeyAttrRepeatOid() {
        return codeKeyAttrRepeatOid;
    }
 
    public void setCodeKeyAttrRepeatOid(String codeKeyAttrRepeatOid) {
        this.codeKeyAttrRepeatOid = codeKeyAttrRepeatOid;
    }
 
    public String getCodeRuleOidName() {
        return codeRuleOidName;
    }
 
    public void setCodeRuleOidName(String codeRuleOidName) {
        this.codeRuleOidName = codeRuleOidName;
    }
 
    public String getCodeKeyAttrRepeatOidName() {
        return codeKeyAttrRepeatOidName;
    }
 
    public void setCodeKeyAttrRepeatOidName(String codeKeyAttrRepeatOidName) {
        this.codeKeyAttrRepeatOidName = codeKeyAttrRepeatOidName;
    }
 
    public Integer getDataLevel() {
        return dataLevel;
    }
 
    public void setDataLevel(Integer dataLevel) {
        this.dataLevel = dataLevel;
    }
 
    public String getCodeResembleRuleOid() {
        return codeResembleRuleOid;
    }
 
    public void setCodeResembleRuleOid(String codeResembleRuleOid) {
        this.codeResembleRuleOid = codeResembleRuleOid;
    }
 
    public String getCodeResembleRuleOidName() {
        return codeResembleRuleOidName;
    }
 
    public void setCodeResembleRuleOidName(String codeResembleRuleOidName) {
        this.codeResembleRuleOidName = codeResembleRuleOidName;
    }
 
    public String getNamePath() {
        return namePath;
    }
 
    public void setNamePath(String namePath) {
        this.namePath = namePath;
    }
 
    public String getIdPath() {
        return idPath;
    }
 
    public void setIdPath(String idPath) {
        this.idPath = idPath;
    }
 
    @Override
    public String toString() {
        return "CodeClassifyDO{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", parentCodeClassifyOid='" + parentCodeClassifyOid + '\'' +
                ", orderNum=" + orderNum +
                ", btmTypeId='" + btmTypeId + '\'' +
                ", btmTypeName='" + btmTypeName + '\'' +
                ", codeRuleOid='" + codeRuleOid + '\'' +
                ", codeRuleOidName='" + codeRuleOidName + '\'' +
                ", codeKeyAttrRepeatOid='" + codeKeyAttrRepeatOid + '\'' +
                ", codeKeyAttrRepeatOidName='" + codeKeyAttrRepeatOidName + '\'' +
                ", codeResembleRuleOid='" + codeResembleRuleOid + '\'' +
                ", codeResembleRuleOidName='" + codeResembleRuleOidName + '\'' +
                ", dataLevel=" + dataLevel +
                ", path='" + path + '\'' +
                ", namePath='" + namePath + '\'' +
                ", idPath='" + idPath + '\'' +
                '}';
    }
 
}