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
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-17
 */
@VciBtmType(name = MdmBtmTypeConstant.CODE_TEMPLATE_MAP_ITEM,text = "映射规则的明细",lifeCycle = FrameWorkLcStatusConstant.EMTYPE_LIFE_CYCLE)
@TableName("PL_CODE_CLASSIFYTEMPMAPITEM")
public class CodeClassifyTempMapItemDO extends BaseModel {
    /**
     * 序列化
     */
    private static final long serialVersionUID = -415692697543751712L;
 
    /**
     * 映射规则主键
     */
    @Column(nullable = false,columnDefinition = "映射规则主键")
    @VciUseRefer(MdmBtmTypeConstant.CODE_TEMPLATE_MAP)
    private String classifyTemplateMapOid;
 
    /**
     * 映射名称
     */
    @Column(columnDefinition = "映射名称")
    private String name;
 
    /**
     * 集团码属性key
     */
    @Column(columnDefinition = "集团码属性key")
    private String groupCodeAttrId;
 
    /**
     * 集团码属性名称
     */
    @Column(columnDefinition = "集团码属性名称")
    private String groupCodeAttrName;
 
    /**
     * 分类模板属性主键
     */
    @Column(columnDefinition = "分类模板属性主键")
    @VciUseRefer(MdmBtmTypeConstant.CODE_CLASSIFY_TEMPLATE_ATTR)
    private String classifyTemplateAttrOid;
    /**
     * 模板属性key
     */
    @Transient(referColumn = "classifyTemplateAttrOid.id")
    private String classifyAttrId;
 
    /**
     * 模板属性名称
     */
    @Transient(referColumn = "classifyTemplateAttrOid.name")
    private String classifyAttrName;
 
    /**
     * 目标端的时间格式
     */
    @Column(columnDefinition = "目标端的时间格式")
    private String targetDateFormat;
 
    /**
     * 转换公式
     */
    @Column(columnDefinition = "转换公式",length = 4000)
    private String switchEval;
 
    /**
     * 转换的自定义类
     */
    @Column(columnDefinition = "转换的自定义类",length = 200)
    private String switchClassName;
 
    public String getClassifyTemplateMapOid() {
        return classifyTemplateMapOid;
    }
 
    public void setClassifyTemplateMapOid(String classifyTemplateMapOid) {
        this.classifyTemplateMapOid = classifyTemplateMapOid;
    }
 
    @Override
    public String getName() {
        return name;
    }
 
    @Override
    public void setName(String name) {
        this.name = name;
    }
 
    public String getGroupCodeAttrId() {
        return groupCodeAttrId;
    }
 
    public void setGroupCodeAttrId(String groupCodeAttrId) {
        this.groupCodeAttrId = groupCodeAttrId;
    }
 
    public String getGroupCodeAttrName() {
        return groupCodeAttrName;
    }
 
    public void setGroupCodeAttrName(String groupCodeAttrName) {
        this.groupCodeAttrName = groupCodeAttrName;
    }
 
    public String getClassifyTemplateAttrOid() {
        return classifyTemplateAttrOid;
    }
 
    public void setClassifyTemplateAttrOid(String classifyTemplateAttrOid) {
        this.classifyTemplateAttrOid = classifyTemplateAttrOid;
    }
 
    public String getClassifyAttrId() {
        return classifyAttrId;
    }
 
    public void setClassifyAttrId(String classifyAttrId) {
        this.classifyAttrId = classifyAttrId;
    }
 
    public String getClassifyAttrName() {
        return classifyAttrName;
    }
 
    public void setClassifyAttrName(String classifyAttrName) {
        this.classifyAttrName = classifyAttrName;
    }
 
    public String getTargetDateFormat() {
        return targetDateFormat;
    }
 
    public void setTargetDateFormat(String targetDateFormat) {
        this.targetDateFormat = targetDateFormat;
    }
 
    public String getSwitchEval() {
        return switchEval;
    }
 
    public void setSwitchEval(String switchEval) {
        this.switchEval = switchEval;
    }
 
    public String getSwitchClassName() {
        return switchClassName;
    }
 
    public void setSwitchClassName(String switchClassName) {
        this.switchClassName = switchClassName;
    }
 
    @Override
    public String toString() {
        return "CodeClassifyTempMapItemDO{" +
                "classifyTemplateMapOid='" + classifyTemplateMapOid + '\'' +
                ", name='" + name + '\'' +
                ", groupCodeAttrId='" + groupCodeAttrId + '\'' +
                ", groupCodeAttrName='" + groupCodeAttrName + '\'' +
                ", classifyTemplateAttrOid='" + classifyTemplateAttrOid + '\'' +
                ", classifyAttrId='" + classifyAttrId + '\'' +
                ", classifyAttrName='" + classifyAttrName + '\'' +
                ", targetDateFormat='" + targetDateFormat + '\'' +
                ", switchEval='" + switchEval + '\'' +
                ", switchClassName='" + switchClassName + '\'' +
                '}' + super.toString();
    }
}