package com.vci.ubcs.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 com.vci.ubcs.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();
|
}
|
}
|