Browse Source

Merge branch 'serp' of wangfan/adweb3-server into master

wangfan 5 months ago
parent
commit
2b7250f8d3

+ 2 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/dmp/dto/google/gtm/GTMContainerDTO.java

@@ -39,6 +39,8 @@ public class GTMContainerDTO extends ResourceDTO {
 
     private String fingerprint;
 
+    private List<GTMTagDTO> tags;
+
     public static String toResourceName(String id) {
         return StringUtils.isNumeric(id) ? "accounts" + RESOURCE_NAME_SPLITTER + id : id;
     }

+ 40 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/dmp/dto/google/gtm/GTMTagDTO.java

@@ -0,0 +1,40 @@
+package org.jeecg.modules.adweb.dmp.dto.google.gtm;
+
+import lombok.*;
+import lombok.experimental.SuperBuilder;
+
+import org.jeecg.modules.adweb.dmp.dto.google.ResourceDTO;
+
+import java.util.List;
+
+/**
+ * @author wfansh
+ */
+@Data
+@SuperBuilder
+@NoArgsConstructor
+@ToString(callSuper = true)
+@EqualsAndHashCode(callSuper = true)
+public class GTMTagDTO extends ResourceDTO {
+
+    private String accountId;
+
+    private String containerId;
+
+    private String workspaceId;
+
+    private String type;
+
+    private List<TagParameter> parameters;
+
+    private List<String> firingTriggerIds;
+
+    @Data
+    public static class TagParameter {
+        private String type;
+
+        private String key;
+
+        private String value;
+    }
+}