From 40629540d1ab5ffc5d60b37c38a72b1c5ae8302a Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期五, 19 八月 2022 20:03:35 +0800 Subject: [PATCH] 优化 --- phi-sms-feign/src/main/java/com/hz/sms/dto/TemplateMsgDto.java | 41 ++++++++++++++++++++++------------------- 1 files changed, 22 insertions(+), 19 deletions(-) diff --git a/phi-sms-feign/src/main/java/com/hz/sms/dto/TemplateMsgDto.java b/phi-sms-feign/src/main/java/com/hz/sms/dto/TemplateMsgDto.java index 1be18d1..58e0164 100644 --- a/phi-sms-feign/src/main/java/com/hz/sms/dto/TemplateMsgDto.java +++ b/phi-sms-feign/src/main/java/com/hz/sms/dto/TemplateMsgDto.java @@ -4,25 +4,28 @@ import java.util.List; public class TemplateMsgDto { - /** 灏忕▼搴廰ppid锛屽繀椤绘槸涓庡綋鍓嶅簲鐢ㄥ叧鑱旂殑灏忕▼搴� */ - private String appid; + /** 灏忕▼搴廰ppid锛屽繀椤绘槸涓庡綋鍓嶅簲鐢ㄥ叧鑱旂殑灏忕▼搴� - Y*/ + private String appId; /** 鐐瑰嚮娑堟伅鍗$墖鍚庣殑灏忕▼搴忛〉闈紝鏈�闀�1024涓瓧鑺傦紝浠呴檺鏈皬绋嬪簭鍐呯殑椤甸潰銆傝瀛楁涓嶅~鍒欐秷鎭偣鍑诲悗涓嶈烦杞�� */ private String page; - /** 娑堟伅鏍囬锛岄暱搴﹂檺鍒�4-12涓眽瀛楋紙鏀寔id杞瘧锛�*/ + /** 娑堟伅鏍囬锛岄暱搴﹂檺鍒�4-12涓眽瀛楋紙鏀寔id杞瘧锛�- Y*/ private String title; - /** 娑堟伅鎻忚堪锛岄暱搴﹂檺鍒�4-12涓眽瀛楋紙鏀寔id杞瘧锛�*/ + /** 娑堟伅鎻忚堪锛岄暱搴﹂檺鍒�4-12涓眽瀛楋紙鏀寔id杞瘧锛�- Y*/ private String description; - /** 鏄惁鏀惧ぇ绗竴涓猚ontent_item*/ - private boolean emphasis_first_item; + /** 鏄惁鏀惧ぇ绗竴涓猚ontent_item锛岄粯璁alse - N*/ + private boolean emphasisFirstItem = BOOLEAN_FALSE; /** 娑堟伅鍐呭閿�煎锛屾渶澶氬厑璁�10涓猧tem*/ - private List<ContentItemDto> content_item; + private List<ContentItemDto> contentItem; - public String getAppid() { - return appid; + public static final boolean BOOLEAN_FALSE = false; + public static final boolean BOOLEAN_TRUE = false; + + public String getAppId() { + return appId; } - public void setAppid(String appid) { - this.appid = appid; + public void setAppId(String appId) { + this.appId = appId; } public String getPage() { @@ -49,19 +52,19 @@ this.description = description; } - public boolean isEmphasis_first_item() { - return emphasis_first_item; + public boolean isEmphasisFirstItem() { + return emphasisFirstItem; } - public void setEmphasis_first_item(boolean emphasis_first_item) { - this.emphasis_first_item = emphasis_first_item; + public void setEmphasisFirstItem(boolean emphasisFirstItem) { + this.emphasisFirstItem = emphasisFirstItem; } - public List<ContentItemDto> getContent_item() { - return content_item; + public List<ContentItemDto> getContentItem() { + return contentItem; } - public void setContent_item(List<ContentItemDto> content_item) { - this.content_item = content_item; + public void setContentItem(List<ContentItemDto> contentItem) { + this.contentItem = contentItem; } } -- Gitblit v1.8.0