package com.vci.ubcs.code.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.vci.ubcs.code.constant.MdmEnumIdConstant;
|
import com.vci.starter.web.annotation.*;
|
import com.vci.starter.web.constant.FrameWorkLcStatusConstant;
|
import com.vci.starter.web.enumpck.VciFieldTypeEnum;
|
import com.vci.starter.web.model.BaseModel;
|
import com.vci.ubcs.code.constant.MdmBtmTypeConstant;
|
import com.vci.web.constant.EnumIdConstant;
|
|
/**
|
* 基础码段的信息
|
* 方便在同一个页面里显示所有的码段
|
* @author weidy
|
* @date 2022-1-18
|
*/
|
@VciBtmType(name = MdmBtmTypeConstant.CODE_BASIC_SEC,text = "码段基础信息",lifeCycle = FrameWorkLcStatusConstant.EMTYPE_LIFE_CYCLE)
|
@TableName("PL_CODE_CODEBASICSEC")
|
public class CodeBasicSecDO extends BaseModel {
|
|
/**
|
* 序列化
|
*/
|
private static final long serialVersionUID = 1803476098497357359L;
|
/**
|
* 码段信息
|
*/
|
@Column(columnDefinition = "码段信息",nullable = false)
|
private String id;
|
|
/**
|
* 码段名称
|
*/
|
@Column(columnDefinition = "码段名称",nullable = false)
|
private String name;
|
|
/**
|
* 码段类型
|
*/
|
@Column(columnDefinition = "码段类型",nullable = false)
|
@VciUseEnum(value = MdmEnumIdConstant.CODE_SEC_TYPE,showTextField = "secTypeText")
|
private String secType;
|
|
/**
|
* 码段长度类型显示文本
|
*/
|
@Transient()
|
private String secTypeText;
|
|
/**
|
* 所属编码规则
|
*/
|
@Column(columnDefinition = "所属编码规则",nullable = false)
|
private String pkCodeRule;
|
|
/**
|
* 码段排序号
|
*/
|
@Column(columnDefinition = "orderNum",nullable = false)
|
private Integer orderNum;
|
|
/**
|
* 引用的属性的文本
|
*/
|
@Column(columnDefinition = "引用的属性名称")
|
private String referAttributeName;
|
|
/**
|
* 引用的属性英文名称
|
*/
|
@Column(columnDefinition = "引用的属性英文")
|
private String referAttributeId;
|
|
/**
|
* 取值规则
|
*/
|
@Column(columnDefinition = "取值规则",length = 4000)
|
private String getValueClass ;
|
|
//前端输入后自动加入到枚举中
|
/**
|
* 日期格式
|
*/
|
@Column(columnDefinition = "日期格式")
|
private String codeDateFormatStr;
|
|
/**
|
* 码段长度类型
|
*/
|
@Column(columnDefinition = "码段长度类型")
|
@VciUseEnum(value = MdmEnumIdConstant.CODE_SEC_LENGTH,showTextField = "secLengthTypeText")
|
private String codeSecLengthType;
|
|
/**
|
* 码段长度类型显示文本
|
*/
|
@Transient(referColumn = MdmEnumIdConstant.CODE_SEC_LENGTH + "_secLengthType")
|
private String codeSecLengthTypeText;
|
|
/**
|
* 码段的长度
|
*/
|
@Column(columnDefinition = "码段的长度")
|
private String codeSecLength;
|
|
/**
|
* 层级类型
|
*/
|
@Column(columnDefinition = "层级类型")
|
@VciUseEnum(value = MdmEnumIdConstant.CODE_LEVEL_TYPE,showTextField = "codeLevelTypeText")
|
private String codeLevelType;
|
|
/**
|
* 层级类型显示文本
|
*/
|
@Transient(referColumn = MdmEnumIdConstant.CODE_LEVEL_TYPE + "_codeLevelType")
|
private String codeLevelTypeText;
|
|
/**
|
* 层级的值
|
*/
|
@Column(columnDefinition = "层级的值")
|
private Integer codeLevelValue;
|
|
/**
|
* 值截取长度
|
*/
|
@Column(columnDefinition = "值截取长度")
|
private Integer valueCutLength;
|
|
/**
|
* 字符截取类型
|
*/
|
@Column(columnDefinition = "字符截取类型")
|
@VciUseEnum(value = MdmEnumIdConstant.CODE_CUT_TYPE,showTextField = "valueCutTypeText")
|
private String valueCutType;
|
|
/**
|
* 字符串截取类型显示文本
|
*/
|
@Transient
|
private String valueCutTypeText;
|
|
/**
|
* 取值类型
|
*/
|
@Column(columnDefinition = "取值类型")
|
@VciUseEnum(value = MdmEnumIdConstant.CODE_GET_VALUE_TYPE,showTextField = "codeGetValueTypeText")
|
private String codeGetValueType;
|
|
/**
|
* 取值类型显示文本
|
*/
|
@Transient
|
private String codeGetValueTypeText;
|
|
/**
|
* 引用的属性所属的库分类
|
*/
|
@Column(columnDefinition = "引用属性所属的库分类")
|
@VciUseRefer(MdmBtmTypeConstant.CODE_CLASSIFY)
|
private String referCodeClassifyOid;
|
|
/**
|
* 引用的属性所属库分类的名称
|
*/
|
@Transient(referColumn = "referCodeClassifyOid.name")
|
private String referCodeClassifyOidName;
|
|
/**
|
* 引用的业务类型
|
*/
|
@Column(columnDefinition = "引用的业务类型")
|
private String referBtmId;
|
|
/**
|
* 引用的业务类型名称
|
*/
|
@Column(columnDefinition = "引用的业务类型名称")
|
private String referBtmName;
|
|
/**
|
* 参照的窗口配置
|
*/
|
@Column(columnDefinition = "参照窗口配置",length = 4000)
|
private String referConfig;
|
|
/**
|
* 显示信息
|
*/
|
@Column(columnDefinition = "显示信息",length = 4000)
|
private String referValueInfo;
|
|
/**
|
* 过滤的sql内容
|
*/
|
@Column(columnDefinition = "过滤的sql内容",length = 4000)
|
private String filterSql ;
|
|
|
/**
|
* 流水号起始值
|
*/
|
@Column(columnDefinition = "流水号起始值")
|
private String serialStart;
|
|
/**
|
* 流水的步长
|
*/
|
@Column(columnDefinition = "流水的步长")
|
private Integer serialStep;
|
|
|
/**
|
* 编码补位方式
|
*/
|
@VciUseEnum(value = EnumIdConstant.CODE_FILL_TYPE,showTextField = "codeFillTypeText")
|
@Column(columnDefinition = "编码补位方式")
|
private String codeFillType;
|
|
/**
|
* 编码补位方式显示文本
|
*/
|
@Column(columnDefinition = "编码补位方式显示文本")
|
private String codeFillTypeText;
|
|
/**
|
* 补位时的字符
|
*/
|
@Column(columnDefinition = "补位时的字符",defaultValue = "0")
|
private String codeFillSeparator;
|
|
/**
|
* 填充长度
|
*/
|
@Column(columnDefinition = "填充长度")
|
private String codeFillLength;
|
|
/**
|
* 上限
|
*/
|
@Column(columnDefinition = "流水上限")
|
private Integer codeFillLimit;
|
|
/**
|
* 流水是否补码
|
*/
|
@Column(columnDefinition = "流水是否补码",defaultValue = "false")
|
@VciFieldType(VciFieldTypeEnum.VTBoolean)
|
private String codeFillFlag;
|
|
/**
|
* 自定义的流水算法类
|
*/
|
@Column(columnDefinition = "自定义的流水算法")
|
private String customCodeSerialClass;
|
|
/**
|
* 是否自动匹配分类值
|
*/
|
@Column(columnDefinition = "是否自动匹配分类值",defaultValue = "false")
|
@VciFieldType(VciFieldTypeEnum.VTBoolean)
|
private String matchClassifyValueFlag;
|
|
/**
|
* 父分类码段主键
|
*/
|
@Column(columnDefinition = "父分类码段主键")
|
@VciUseRefer(value = MdmBtmTypeConstant.CODE_BASIC_SEC,showTextField = "parentClassifySecText")
|
private String parentClassifySecOid;
|
|
/**
|
* 父分类码段名称
|
*/
|
@Transient(referColumn = "parentClassifySecOid.name")
|
private String parentClassifySecText;
|
|
|
/**
|
* 是否可以为空
|
*/
|
@Column(columnDefinition = "是否可以为空",defaultValue = "true")
|
@VciFieldType(VciFieldTypeEnum.VTBoolean)
|
private String nullableFlag;
|
|
/**
|
* 是否参与编码
|
*/
|
@Column(columnDefinition = "是否参与编码",defaultValue = "true")
|
@VciFieldType(VciFieldTypeEnum.VTBoolean)
|
private String componentCodeFlag;
|
|
/**
|
* 是否流水依赖
|
*/
|
@Column(columnDefinition = "是否流水依赖",defaultValue = "true")
|
@VciFieldType(VciFieldTypeEnum.VTBoolean)
|
private String serialDependFlag;
|
|
/**
|
* 是否显示
|
*/
|
@Column(columnDefinition = "是否显示",defaultValue = "true")
|
@VciFieldType(VciFieldTypeEnum.VTBoolean)
|
private String displayFlag;
|
|
/**
|
* 流水依赖顺序
|
*/
|
@Column(columnDefinition = "流水依赖顺序")
|
private Integer serialDependOrder;
|
|
public String getReferCodeClassifyOidName() {
|
return referCodeClassifyOidName;
|
}
|
|
public void setReferCodeClassifyOidName(String referCodeClassifyOidName) {
|
this.referCodeClassifyOidName = referCodeClassifyOidName;
|
}
|
|
public String getReferBtmId() {
|
return referBtmId;
|
}
|
|
public void setReferBtmId(String referBtmId) {
|
this.referBtmId = referBtmId;
|
}
|
|
public String getReferBtmName() {
|
return referBtmName;
|
}
|
|
public void setReferBtmName(String referBtmName) {
|
this.referBtmName = referBtmName;
|
}
|
|
public Integer getOrderNum() {
|
return orderNum;
|
}
|
|
public void setOrderNum(Integer orderNum) {
|
this.orderNum = orderNum;
|
}
|
|
@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 getSecType() {
|
return secType;
|
}
|
|
public void setSecType(String secType) {
|
this.secType = secType;
|
}
|
|
public String getSecTypeText() {
|
return secTypeText;
|
}
|
|
public void setSecTypeText(String secTypeText) {
|
this.secTypeText = secTypeText;
|
}
|
|
public String getPkCodeRule() {
|
return pkCodeRule;
|
}
|
|
public void setPkCodeRule(String pkCodeRule) {
|
this.pkCodeRule = pkCodeRule;
|
}
|
|
public String getGetValueClass() {
|
return getValueClass;
|
}
|
|
public void setGetValueClass(String getValueClass) {
|
this.getValueClass = getValueClass;
|
}
|
|
public String getCodeDateFormatStr() {
|
return codeDateFormatStr;
|
}
|
|
public void setCodeDateFormatStr(String codeDateFormatStr) {
|
this.codeDateFormatStr = codeDateFormatStr;
|
}
|
|
|
public String getCodeSecLength() {
|
return codeSecLength;
|
}
|
|
public void setCodeSecLength(String codeSecLength) {
|
this.codeSecLength = codeSecLength;
|
}
|
|
public String getCodeLevelType() {
|
return codeLevelType;
|
}
|
|
public void setCodeLevelType(String codeLevelType) {
|
this.codeLevelType = codeLevelType;
|
}
|
|
public String getCodeLevelTypeText() {
|
return codeLevelTypeText;
|
}
|
|
public void setCodeLevelTypeText(String codeLevelTypeText) {
|
this.codeLevelTypeText = codeLevelTypeText;
|
}
|
|
public Integer getCodeLevelValue() {
|
return codeLevelValue;
|
}
|
|
public void setCodeLevelValue(Integer codeLevelValue) {
|
this.codeLevelValue = codeLevelValue;
|
}
|
|
public Integer getValueCutLength() {
|
return valueCutLength;
|
}
|
|
public void setValueCutLength(Integer valueCutLength) {
|
this.valueCutLength = valueCutLength;
|
}
|
|
public String getValueCutType() {
|
return valueCutType;
|
}
|
|
public void setValueCutType(String valueCutType) {
|
this.valueCutType = valueCutType;
|
}
|
|
public String getValueCutTypeText() {
|
return valueCutTypeText;
|
}
|
|
public void setValueCutTypeText(String valueCutTypeText) {
|
this.valueCutTypeText = valueCutTypeText;
|
}
|
|
public String getCodeGetValueType() {
|
return codeGetValueType;
|
}
|
|
public void setCodeGetValueType(String codeGetValueType) {
|
this.codeGetValueType = codeGetValueType;
|
}
|
|
public String getCodeGetValueTypeText() {
|
return codeGetValueTypeText;
|
}
|
|
public void setCodeGetValueTypeText(String codeGetValueTypeText) {
|
this.codeGetValueTypeText = codeGetValueTypeText;
|
}
|
|
public String getReferCodeClassifyOid() {
|
return referCodeClassifyOid;
|
}
|
|
public void setReferCodeClassifyOid(String referCodeClassifyOid) {
|
this.referCodeClassifyOid = referCodeClassifyOid;
|
}
|
|
public String getReferConfig() {
|
return referConfig;
|
}
|
|
public void setReferConfig(String referConfig) {
|
this.referConfig = referConfig;
|
}
|
|
public String getReferValueInfo() {
|
return referValueInfo;
|
}
|
|
public void setReferValueInfo(String referValueInfo) {
|
this.referValueInfo = referValueInfo;
|
}
|
|
public String getFilterSql() {
|
return filterSql;
|
}
|
|
public void setFilterSql(String filterSql) {
|
this.filterSql = filterSql;
|
}
|
|
public String getSerialStart() {
|
return serialStart;
|
}
|
|
public void setSerialStart(String serialStart) {
|
this.serialStart = serialStart;
|
}
|
|
public Integer getSerialStep() {
|
return serialStep;
|
}
|
|
public void setSerialStep(Integer serialStep) {
|
this.serialStep = serialStep;
|
}
|
|
public String getCodeFillType() {
|
return codeFillType;
|
}
|
|
public void setCodeFillType(String codeFillType) {
|
this.codeFillType = codeFillType;
|
}
|
|
public String getCodeFillTypeText() {
|
return codeFillTypeText;
|
}
|
|
public void setCodeFillTypeText(String codeFillTypeText) {
|
this.codeFillTypeText = codeFillTypeText;
|
}
|
|
public String getCodeFillSeparator() {
|
return codeFillSeparator;
|
}
|
|
public void setCodeFillSeparator(String codeFillSeparator) {
|
this.codeFillSeparator = codeFillSeparator;
|
}
|
|
public String getCodeFillLength() {
|
return codeFillLength;
|
}
|
|
public void setCodeFillLength(String codeFillLength) {
|
this.codeFillLength = codeFillLength;
|
}
|
|
public Integer getCodeFillLimit() {
|
return codeFillLimit;
|
}
|
|
public void setCodeFillLimit(Integer codeFillLimit) {
|
this.codeFillLimit = codeFillLimit;
|
}
|
|
public String getCodeFillFlag() {
|
return codeFillFlag;
|
}
|
|
public void setCodeFillFlag(String codeFillFlag) {
|
this.codeFillFlag = codeFillFlag;
|
}
|
|
public String getCustomCodeSerialClass() {
|
return customCodeSerialClass;
|
}
|
|
public void setCustomCodeSerialClass(String customCodeSerialClass) {
|
this.customCodeSerialClass = customCodeSerialClass;
|
}
|
|
public String getMatchClassifyValueFlag() {
|
return matchClassifyValueFlag;
|
}
|
|
public void setMatchClassifyValueFlag(String matchClassifyValueFlag) {
|
this.matchClassifyValueFlag = matchClassifyValueFlag;
|
}
|
|
public String getParentClassifySecOid() {
|
return parentClassifySecOid;
|
}
|
|
public void setParentClassifySecOid(String parentClassifySecOid) {
|
this.parentClassifySecOid = parentClassifySecOid;
|
}
|
|
public String getParentClassifySecText() {
|
return parentClassifySecText;
|
}
|
|
public void setParentClassifySecText(String parentClassifySecText) {
|
this.parentClassifySecText = parentClassifySecText;
|
}
|
|
|
public String getCodeSecLengthType() {
|
return codeSecLengthType;
|
}
|
|
public void setCodeSecLengthType(String codeSecLengthType) {
|
this.codeSecLengthType = codeSecLengthType;
|
}
|
|
public String getCodeSecLengthTypeText() {
|
return codeSecLengthTypeText;
|
}
|
|
public void setCodeSecLengthTypeText(String codeSecLengthTypeText) {
|
this.codeSecLengthTypeText = codeSecLengthTypeText;
|
}
|
|
public String getNullableFlag() {
|
return nullableFlag;
|
}
|
|
public void setNullableFlag(String nullableFlag) {
|
this.nullableFlag = nullableFlag;
|
}
|
|
public String getComponentCodeFlag() {
|
return componentCodeFlag;
|
}
|
|
public void setComponentCodeFlag(String componentCodeFlag) {
|
this.componentCodeFlag = componentCodeFlag;
|
}
|
|
public String getSerialDependFlag() {
|
return serialDependFlag;
|
}
|
|
public void setSerialDependFlag(String serialDependFlag) {
|
this.serialDependFlag = serialDependFlag;
|
}
|
|
public String getDisplayFlag() {
|
return displayFlag;
|
}
|
|
public void setDisplayFlag(String displayFlag) {
|
this.displayFlag = displayFlag;
|
}
|
|
public Integer getSerialDependOrder() {
|
return serialDependOrder;
|
}
|
|
public void setSerialDependOrder(Integer serialDependOrder) {
|
this.serialDependOrder = serialDependOrder;
|
}
|
|
public String getReferAttributeId() {
|
return referAttributeId;
|
}
|
|
public void setReferAttributeId(String referAttributeId) {
|
this.referAttributeId = referAttributeId;
|
}
|
|
public String getReferAttributeName() {
|
return referAttributeName;
|
}
|
|
public void setReferAttributeName(String referAttributeName) {
|
this.referAttributeName = referAttributeName;
|
}
|
|
@Override
|
public String toString() {
|
return "CodeBasicSecDO{" +
|
"id='" + id + '\'' +
|
", name='" + name + '\'' +
|
", secType='" + secType + '\'' +
|
", secTypeText='" + secTypeText + '\'' +
|
", pkCodeRule='" + pkCodeRule + '\'' +
|
", orderNum=" + orderNum +
|
", referAttributeName='" + referAttributeName + '\'' +
|
", referAttributeId='" + referAttributeId + '\'' +
|
", getValueClass='" + getValueClass + '\'' +
|
", codeDateFormatStr='" + codeDateFormatStr + '\'' +
|
", codeSecLengthType='" + codeSecLengthType + '\'' +
|
", codeSecLengthTypeText='" + codeSecLengthTypeText + '\'' +
|
", codeSecLength='" + codeSecLength + '\'' +
|
", codeLevelType='" + codeLevelType + '\'' +
|
", codeLevelTypeText='" + codeLevelTypeText + '\'' +
|
", codeLevelValue=" + codeLevelValue +
|
", valueCutLength=" + valueCutLength +
|
", valueCutType='" + valueCutType + '\'' +
|
", valueCutTypeText='" + valueCutTypeText + '\'' +
|
", codeGetValueType='" + codeGetValueType + '\'' +
|
", codeGetValueTypeText='" + codeGetValueTypeText + '\'' +
|
", referCodeClassifyOid='" + referCodeClassifyOid + '\'' +
|
", referCodeClassifyOidName='" + referCodeClassifyOidName + '\'' +
|
", referBtmId='" + referBtmId + '\'' +
|
", referBtmName='" + referBtmName + '\'' +
|
", referConfig='" + referConfig + '\'' +
|
", referValueInfo='" + referValueInfo + '\'' +
|
", filterSql='" + filterSql + '\'' +
|
", serialStart='" + serialStart + '\'' +
|
", serialStep=" + serialStep +
|
", codeFillType='" + codeFillType + '\'' +
|
", codeFillTypeText='" + codeFillTypeText + '\'' +
|
", codeFillSeparator='" + codeFillSeparator + '\'' +
|
", codeFillLength='" + codeFillLength + '\'' +
|
", codeFillLimit=" + codeFillLimit +
|
", codeFillFlag='" + codeFillFlag + '\'' +
|
", customCodeSerialClass='" + customCodeSerialClass + '\'' +
|
", matchClassifyValueFlag='" + matchClassifyValueFlag + '\'' +
|
", parentClassifySecOid='" + parentClassifySecOid + '\'' +
|
", parentClassifySecText='" + parentClassifySecText + '\'' +
|
", nullableFlag='" + nullableFlag + '\'' +
|
", componentCodeFlag='" + componentCodeFlag + '\'' +
|
", serialDependFlag='" + serialDependFlag + '\'' +
|
", displayFlag='" + displayFlag + '\'' +
|
", serialDependOrder=" + serialDependOrder +
|
"} " + super.toString();
|
}
|
}
|