From 4e13584a74c860f9fa8fd2d6aee3021fe6bb6b77 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 11 四月 2023 20:07:26 +0800
Subject: [PATCH] 对象建模
---
Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/CodeSynonymDTO.java | 122 ++++++++--------------------------------
1 files changed, 26 insertions(+), 96 deletions(-)
diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/CodeSynonymDTO.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/CodeSynonymDTO.java
index 90ad197..6cdb01d 100644
--- a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/CodeSynonymDTO.java
+++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/CodeSynonymDTO.java
@@ -1,104 +1,34 @@
+/*
+ * 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.starter.web.pagemodel.BaseModelVO;
+import com.vci.ubcs.code.entity.CodeSynonymEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
/**
- * 鍚屼箟璇嶉厤缃暟鎹紶杈撳璞�
+ * 杩戜箟璇嶇淮鎶� 鏁版嵁浼犺緭瀵硅薄瀹炰綋绫�
*
- * @author weidy
- * @date 2022-02-17
+ * @author yuxc
+ * @since 2023-04-04
*/
-public class CodeSynonymDTO extends BaseModelVO {
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class CodeSynonymDTO extends CodeSynonymEntity {
+ private static final long serialVersionUID = 1L;
- /**
- * 绂佹淇敼杩欎釜鍊�
- */
- 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();
- }
}
--
Gitblit v1.9.3