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-17
|
*/
|
@VciBtmType(name = MdmBtmTypeConstant.CODE_TEMPLATE_MAP_ITEM,text = "映射规则的明细",lifeCycle = FrameWorkLcStatusConstant.EMTYPE_LIFE_CYCLE)
|
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();
|
}
|
}
|