StrategyEffectAnalysisRequest.java
2.25 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
69
70
71
72
73
74
75
76
77
78
79
80
package cn.com.glsx.dj.strategy.request;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rop.AbstractRopRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
/**
* 效果分析请求对象
*
* @author yangwei
* @version 1.0
* @since 2026/01/19 10:06
*/
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "效果分析请求对象")
public class StrategyEffectAnalysisRequest extends AbstractRopRequest implements Serializable {
private static final long serialVersionUID = -6567788667848538498L;
@ApiModelProperty(
name = "startDate",
notes = "开始日期 格式yyyy-MM-dd HH:mm:ss",
example = "1",
required = true
)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date startDate;
@ApiModelProperty(
name = "endDate",
notes = "结束日期 格式yyyy-MM-dd HH:mm:ss",
example = "1",
required = true
)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date endDate;
@ApiModelProperty(
name = "businessType",
notes = "bi侧业务类型,1.延保 2.轻改 3.权益",
example = "1",
required = true
)
private String businessType;
@ApiModelProperty(
name = "monitorType",
notes = "盯防类型:1=兜底指标(默认),2=生态系数",
example = "1",
required = true
)
private Integer monitorType;
@ApiModelProperty(
name = "metricTypeId",
notes = "指标类型ID",
example = "1",
required = true
)
private Integer metricTypeId;
@ApiModelProperty(
name = "periodType",
notes = "日期类型:0,按日;1,按周;2,按月;3,按年;4,自定义;",
example = "1",
required = true
)
private Integer periodType;
}