|
@@ -4,6 +4,7 @@ package com.pig4cloud.pig.marketing.api.dto.rule;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import jakarta.validation.constraints.NotBlank;
|
|
|
import jakarta.validation.constraints.NotEmpty;
|
|
|
+import jakarta.validation.constraints.NotNull;
|
|
|
import lombok.Data;
|
|
|
|
|
|
import java.io.Serial;
|
|
@@ -47,6 +48,10 @@ public class SaveMktRuleDTO implements Serializable {
|
|
|
@NotBlank(message = "推送频率不能为空")
|
|
|
private String pushFrequency;
|
|
|
|
|
|
+ @Schema(description = "推送方式,1-弹出提示,2-打开网址,3-内置浏览器打开网址,4-使用webview打开网址",example = "1")
|
|
|
+ @NotNull(message = "推送方式不能为空")
|
|
|
+ private Integer action;
|
|
|
+
|
|
|
@Schema(description = "备注")
|
|
|
private String remark;
|
|
|
}
|