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-1-14
|
*/
|
@VciBtmType(name = MdmBtmTypeConstant.CODE_CLASSIFY,text = "主题库分类",lifeCycle = FrameWorkLcStatusConstant.FRAME_WORK_LIFE_CYCLE_NAME)
|
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 + '\'' +
|
'}';
|
}
|
|
}
|