SopStrategyUpdateRequest.java
2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package cn.com.glsx.dj.strategy.request;
import cn.com.glsx.dj.strategy.dto.MerchantInfo;
import com.rop.AbstractRopRequest;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.List;
@Data
public class SopStrategyUpdateRequest extends AbstractRopRequest {
@ApiModelProperty(notes = "策略ID", required = true)
@NotNull
private Integer strategyId;
@ApiModelProperty(notes = "策略名称", required = true)
@NotNull
private String strategyName;
@ApiModelProperty(notes = "场景大类", required = true)
@NotNull
private Integer bizType;
@ApiModelProperty(notes = "适用门店类型(0不限/1指定门店)", required = true)
@NotNull
private Integer storeScopeType;
@ApiModelProperty(notes = "营销阶段(stage_code)", required = true)
@NotNull
private String marketingStage;
@ApiModelProperty(notes = "触发类型(trigger_code)", required = true)
@NotNull
private String triggerType;
@ApiModelProperty(notes = "客户行为类型")
private Integer customerBehaviorType;
@ApiModelProperty(notes = "日期变量类型(date_code)")
private String dateVariableType;
@ApiModelProperty(notes = "相对日期类型(0提前/1当前/2推后)")
private Integer relativeDateType;
@ApiModelProperty(notes = "相对天数")
private Integer relativeDays;
@ApiModelProperty(notes = "触发小时")
private Integer triggerHour;
@ApiModelProperty(notes = "触发分钟")
private Integer triggerMinute;
@ApiModelProperty(notes = "确认类型(0自动执行/1人工确认)", required = true)
private Integer actionConfirmType;
@ApiModelProperty(value = "门店ID列表")
private List<MerchantInfo> storeIds;
@ApiModelProperty(notes = "第二步条件规则列表(规则条件)")
private List<SopConditionGroupRequest> step2ConditionGroups;
@ApiModelProperty(notes = "策略分支列表")
@NotNull
private List<SopBranchRequest> branches;
}