From 35a36f60cdbd9ef3bf2ab7be9f418f988c93c5eb Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期五, 21 四月 2023 17:05:02 +0800 Subject: [PATCH] 1、主题库定义相关代码。 2、枚举定义相关代码移植修改。 --- Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/po/CodeClassifyPO.java | 249 ++++++++++++++++++++++++++----------------------- 1 files changed, 130 insertions(+), 119 deletions(-) diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/po/CodeClassifyPO.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/po/CodeClassifyPO.java index 43491eb..97a9784 100644 --- a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/po/CodeClassifyPO.java +++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/po/CodeClassifyPO.java @@ -1,158 +1,169 @@ package com.vci.ubcs.code.po; +import com.vci.ubcs.com.vci.starter.poi.annotation.ExcelColumn; + /** * 涓婚搴撳垎绫荤殑瀵煎叆瀵煎嚭瀵硅薄 * @author weidy * @date 2022-04-01 */ public class CodeClassifyPO implements java.io.Serializable{ - /** - * 搴忓垪鍖� - */ - private static final long serialVersionUID = 6101784029360306020L; - /** - * 鎵�鍦ㄦ暟鎹 - */ - private String rowIndex; + /** + * 搴忓垪鍖� + */ + private static final long serialVersionUID = 6101784029360306020L; + /** + * 鎵�鍦ㄦ暟鎹 + */ + @ExcelColumn(rowIndexColumn = true,value = "") + private String rowIndex; - /** - * 鍒嗙被缂栧彿 - */ - private String id; - /** - * 鍒嗙被鍚嶇О - */ - private String name; + /** + * 鍒嗙被缂栧彿 + */ + @ExcelColumn(value="鍒嗙被缂栧彿",nullable = false) + private String id; + /** + * 鍒嗙被鍚嶇О + */ + @ExcelColumn(value="鍒嗙被鍚嶇О",nullable = false) + private String name; - /** - * 鎻忚堪 - */ - private String description; + /** + * 鎻忚堪 + */ + @ExcelColumn(value = "鎻忚堪") + private String description; - /** - * 缂栫爜瑙勫垯缂栧彿 - */ - private String codeRuleId; + /** + * 缂栫爜瑙勫垯缂栧彿 + */ + @ExcelColumn(value = "缂栫爜瑙勫垯缂栧彿") + private String codeRuleId; - /** - * 涓氬姟绫诲瀷缂栧彿 - */ - private String btmTypeId; + /** + * 涓氬姟绫诲瀷缂栧彿 + */ + @ExcelColumn(value = "涓氬姟绫诲瀷缂栧彿") + private String btmTypeId; - /** - * 鏌ラ噸瑙勫垯缂栧彿 - */ - private String keyRepeatRuleId; + /** + * 鏌ラ噸瑙勫垯缂栧彿 + */ + @ExcelColumn(value = "鏌ラ噸瑙勫垯缂栧彿") + private String keyRepeatRuleId; - /** - * 鍒嗙被璺緞 - */ - private String path; + /** + * 鍒嗙被璺緞 + */ + @ExcelColumn(value = "鍒嗙被璺緞",nullable = false) + private String path; - /** - * 鐘舵�佹枃鏈� - */ - private String lcStatusText; + /** + * 鐘舵�佹枃鏈� + */ + @ExcelColumn(value = "鐘舵��") + private String lcStatusText; - /** - * 鐘舵�� - */ - private String lcStatus; + /** + * 鐘舵�� + */ + private String lcStatus; - public String getDescription() { - return description; - } + public String getDescription() { + return description; + } - public void setDescription(String description) { - this.description = description; - } + public void setDescription(String description) { + this.description = description; + } - public String getRowIndex() { - return rowIndex; - } + public String getRowIndex() { + return rowIndex; + } - public void setRowIndex(String rowIndex) { - this.rowIndex = rowIndex; - } + public void setRowIndex(String rowIndex) { + this.rowIndex = rowIndex; + } - public String getId() { - return id; - } + public String getId() { + return id; + } - public void setId(String id) { - this.id = id; - } + public void setId(String id) { + this.id = id; + } - public String getName() { - return name; - } + public String getName() { + return name; + } - public void setName(String name) { - this.name = name; - } + public void setName(String name) { + this.name = name; + } - public String getCodeRuleId() { - return codeRuleId; - } + public String getCodeRuleId() { + return codeRuleId; + } - public void setCodeRuleId(String codeRuleId) { - this.codeRuleId = codeRuleId; - } + public void setCodeRuleId(String codeRuleId) { + this.codeRuleId = codeRuleId; + } - public String getBtmTypeId() { - return btmTypeId; - } + public String getBtmTypeId() { + return btmTypeId; + } - public void setBtmTypeId(String btmTypeId) { - this.btmTypeId = btmTypeId; - } + public void setBtmTypeId(String btmTypeId) { + this.btmTypeId = btmTypeId; + } - public String getKeyRepeatRuleId() { - return keyRepeatRuleId; - } + public String getKeyRepeatRuleId() { + return keyRepeatRuleId; + } - public void setKeyRepeatRuleId(String keyRepeatRuleId) { - this.keyRepeatRuleId = keyRepeatRuleId; - } + public void setKeyRepeatRuleId(String keyRepeatRuleId) { + this.keyRepeatRuleId = keyRepeatRuleId; + } - public String getPath() { - return path; - } + public String getPath() { + return path; + } - public void setPath(String path) { - this.path = path; - } + public void setPath(String path) { + this.path = path; + } - public String getLcStatusText() { - return lcStatusText; - } + public String getLcStatusText() { + return lcStatusText; + } - public void setLcStatusText(String lcStatusText) { - this.lcStatusText = lcStatusText; - } + public void setLcStatusText(String lcStatusText) { + this.lcStatusText = lcStatusText; + } - public String getLcStatus() { - return lcStatus; - } + public String getLcStatus() { + return lcStatus; + } - public void setLcStatus(String lcStatus) { - this.lcStatus = lcStatus; - } + public void setLcStatus(String lcStatus) { + this.lcStatus = lcStatus; + } - @Override - public String toString() { - return "CodeClassifyPO{" + - "rowIndex='" + rowIndex + '\'' + - ", id='" + id + '\'' + - ", name='" + name + '\'' + - ", description='" + description + '\'' + - ", codeRuleId='" + codeRuleId + '\'' + - ", btmTypeId='" + btmTypeId + '\'' + - ", keyRepeatRuleId='" + keyRepeatRuleId + '\'' + - ", path='" + path + '\'' + - ", lcStatusText='" + lcStatusText + '\'' + - ", lcStatus='" + lcStatus + '\'' + - '}'; - } + @Override + public String toString() { + return "CodeClassifyPO{" + + "rowIndex='" + rowIndex + '\'' + + ", id='" + id + '\'' + + ", name='" + name + '\'' + + ", description='" + description + '\'' + + ", codeRuleId='" + codeRuleId + '\'' + + ", btmTypeId='" + btmTypeId + '\'' + + ", keyRepeatRuleId='" + keyRepeatRuleId + '\'' + + ", path='" + path + '\'' + + ", lcStatusText='" + lcStatusText + '\'' + + ", lcStatus='" + lcStatus + '\'' + + '}'; + } } -- Gitblit v1.9.3