From a6fe25ede6f964ede26671298816b7239c80130e Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期二, 04 七月 2023 00:41:09 +0800 Subject: [PATCH] 获取分类规则对象 --- Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/coderule/CodeRuleVO.java | 35 +++++++++++++++++++++++++++++++++-- 1 files changed, 33 insertions(+), 2 deletions(-) diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/coderule/CodeRuleVO.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/coderule/CodeRuleVO.java index 36119a5..489dbe0 100644 --- a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/coderule/CodeRuleVO.java +++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/coderule/CodeRuleVO.java @@ -1,8 +1,39 @@ package com.vci.ubcs.code.vo.webserviceModel.coderule; -import com.vci.ubcs.code.dto.CodeRuleDTO; +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamAsAttribute; +import com.thoughtworks.xstream.annotations.XStreamImplicit; +import java.util.List; + +@XStreamAlias("codeRule") public class CodeRuleVO { -// private String + /** + * 缂栫爜瑙勫垯鐨勭紪鍙� + */ + @XStreamAsAttribute + private String id; + + /** + * 瑙勫垯缂栧彿 + */ + @XStreamAsAttribute + private String num; + /** + * 缂栫爜瑙勫垯鐨勫悕绉� + */ + @XStreamAsAttribute + private String name; + + /** + * 瑙勫垯鐨勬弿杩� + */ + @XStreamAsAttribute + private String description; + /** + * 缂栫爜鐨勭爜娈典俊鎭� + */ + @XStreamImplicit + private List<CodeSectionVO> secVOList; } -- Gitblit v1.9.3