ludc
2023-03-27 82a410d9ec7a5d15eed27e9990cff371feab43a1
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
package org.springblade.code.model;
 
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 org.springblade.code.constant.MdmBtmTypeConstant;
 
/**
 * 同义词
 * @author weidy
 * @date 2022-2-17
 */
@VciBtmType(name = MdmBtmTypeConstant.CODE_SYNONYM,text = "同义词配置",description = "同义词配置",lifeCycle = FrameWorkLcStatusConstant.EMTYPE_LIFE_CYCLE)
public class CodeSynonymDO extends BaseModel {
 
    /**
     * 模板主键
     */
    @VciUseRefer(MdmBtmTypeConstant.CODE_CLASSIFY_TEMPLATE)
    @Column(nullable = false,columnDefinition = "模板主键")
    private String codeClassifyTemplateOid;
 
    /**
     * 模板的名称
     */
    @Transient(referColumn = "codeClassifyTemplateOid.name")
    private String codeClassifyTemplateOidName;
 
 
    /**
     * 属性的英文名称
     */
    @Column(nullable = false,columnDefinition = "属性英文名称")
    private String id;
 
    /**
     * 属性的中文名称
     */
    @Column(nullable = false,columnDefinition = "属性中文名称")
    private String name;
 
    /**
     * 源值
     */
    @Column(nullable = false,length = 200,columnDefinition = "源值")
    private String sourceValue;
 
    /**
     * 同义词
     */
    @Column(nullable = false,length = 200,columnDefinition = "同义词")
    private String synonymValue;
 
    public String getCodeClassifyTemplateOid() {
        return codeClassifyTemplateOid;
    }
 
    public void setCodeClassifyTemplateOid(String codeClassifyTemplateOid) {
        this.codeClassifyTemplateOid = codeClassifyTemplateOid;
    }
 
    public String getCodeClassifyTemplateOidName() {
        return codeClassifyTemplateOidName;
    }
 
    public void setCodeClassifyTemplateOidName(String codeClassifyTemplateOidName) {
        this.codeClassifyTemplateOidName = codeClassifyTemplateOidName;
    }
 
    @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 getSourceValue() {
        return sourceValue;
    }
 
    public void setSourceValue(String sourceValue) {
        this.sourceValue = sourceValue;
    }
 
    public String getSynonymValue() {
        return synonymValue;
    }
 
    public void setSynonymValue(String synonymValue) {
        this.synonymValue = synonymValue;
    }
 
 
    @Override
    public String toString() {
        return "CodeSynonymDO{" +
                "codeClassifyTemplateOid='" + codeClassifyTemplateOid + '\'' +
                ", codeClassifyTemplateOidName='" + codeClassifyTemplateOidName + '\'' +
                ", id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", sourceValue='" + sourceValue + '\'' +
                ", synonymValue='" + synonymValue + '\'' +
                "} " + super.toString();
    }
}