| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill 庄骞 (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.dto; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeSynonymEntity; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import com.vci.ubcs.code.vo.pagemodel.BaseModelVO; |
| | | |
| | | /** |
| | | * 近义词维护 数据传输对象实体类 |
| | | * 同义词配置数据传输对象 |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-04 |
| | | * @author weidy |
| | | * @date 2022-02-17 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class CodeSynonymDTO extends CodeSynonymEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | public class CodeSynonymDTO extends BaseModelVO { |
| | | |
| | | /** |
| | | * 禁止修改这个值 |
| | | */ |
| | | private static final long serialVersionUID = 4615707117393017144L; |
| | | |
| | | /** |
| | | * 所属编码规则 |
| | | */ |
| | | private String codeclassifytemplateoid; |
| | | |
| | | /** |
| | | * 所属编码规则显示文本 |
| | | */ |
| | | private String codeclassifytemplateoidName; |
| | | /** |
| | | * 源值 |
| | | */ |
| | | private String sourcevalue; |
| | | |
| | | /** |
| | | * 同义词 |
| | | */ |
| | | 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; |
| | | } |
| | | /** |
| | | * 获取 源值 |
| | | */ |
| | | 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 "CodeSynonymDTO{" + |
| | | "codeclassifytemplateoid='" + codeclassifytemplateoid +"',"+ |
| | | "codeclassifytemplateoidName='" + codeclassifytemplateoidName +"'," + |
| | | "sourcevalue='" + sourcevalue +"',"+ |
| | | "synonymvalue='" + synonymvalue +"',"+ |
| | | "}" + super.toString(); |
| | | } |
| | | } |