From dc3ecc4d55123dd51551b7bb785beeca0e95501d Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期六, 01 七月 2023 20:48:35 +0800 Subject: [PATCH] 营销助手通用dto --- phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingMsgItemDto.java | 17 ++++++++ phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingTotalDto.java | 22 +++++++++++ phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingContentDto.java | 16 ++++++++ phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingMsgDto.java | 24 ++++++++++++ 4 files changed, 79 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingContentDto.java b/phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingContentDto.java new file mode 100644 index 0000000..18b1352 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingContentDto.java @@ -0,0 +1,16 @@ +package com.hz.his.dto.marketing.common; + +import lombok.Data; + +import java.util.List; + +/** + * 钀ラ攢鍔╂墜鍙戦�佹秷鎭弬鏁� + * @author fwq + */ +@Data +public class MarketingContentDto { + /**灞曠ず鍐呭閿�煎*/ + private List<MarketingMsgItemDto> contentList; + +} diff --git a/phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingMsgDto.java b/phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingMsgDto.java new file mode 100644 index 0000000..2522f24 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingMsgDto.java @@ -0,0 +1,24 @@ +package com.hz.his.dto.marketing.common; + +import lombok.Data; + +import java.util.List; + +/** + * 钀ラ攢鍔╂墜鍙戦�佹秷鎭弬鏁� + * @author fwq + */ +@Data +public class MarketingMsgDto { + + /*******************蹇呭~椤�*************************/ + /** 娑堟伅鏍囬锛岄暱搴﹂檺鍒�4-12涓眽瀛� -蹇呭~椤�*/ + private String title; + /** 娑堟伅鎻忚堪锛岄暱搴﹂檺鍒�4-12涓眽瀛� -蹇呭~椤�*/ + private String description; + /** 鏄惁鏀惧ぇ绗竴涓猚ontent_item锛岄粯璁rue*/ + private boolean emphasisFirstItem = true; + /** 娑堟伅鍐呭閿�煎锛屾渶澶氬厑璁�10涓猧tem -蹇呭~椤�*/ + private List<MarketingMsgItemDto> contentItem; + +} diff --git a/phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingMsgItemDto.java b/phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingMsgItemDto.java new file mode 100644 index 0000000..5c3b700 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingMsgItemDto.java @@ -0,0 +1,17 @@ +package com.hz.his.dto.marketing.common; + +import lombok.Data; + +import java.util.List; + +/** + * 钀ラ攢鍔╂墜鍙戦�佹秷鎭弬鏁� + * @author fwq + */ +@Data +public class MarketingMsgItemDto { + /**濡傛灉鏄彂閫佺殑娑堟伅锛氶暱搴�10涓眽瀛椾互鍐� -蹇呭~椤�*/ + private String key; + /**濡傛灉鏄彂閫佺殑娑堟伅锛� 闀垮害30涓眽瀛椾互鍐� -蹇呭~椤�*/ + private String value; +} diff --git a/phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingTotalDto.java b/phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingTotalDto.java new file mode 100644 index 0000000..af91597 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/marketing/common/MarketingTotalDto.java @@ -0,0 +1,22 @@ +package com.hz.his.dto.marketing.common; + +import com.hz.his.dto.marketing.MarketingDto; +import lombok.Data; + +/** + * 钀ラ攢鍔╂墜璇锋眰鍏叡鍙傛暟 + * @author fwq + */ +@Data +public class MarketingTotalDto extends MarketingDto { + + /**瀹℃壒鐣岄潰灞曠ず鐨勫唴瀹� -蹇呭~椤�*/ + private MarketingContentDto marketingContentDto; + + /**娑堟伅鍙戦�佸唴瀹� -蹇呭~椤�*/ + private MarketingMsgDto marketingMsgDto; + + /**鍥炶皟閾炬帴 -蹇呭~椤�*/ + private String callbackUrl; + +} -- Gitblit v1.8.0