mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
package com.panzhihua.common.model.dtos.community.bigscreen;
 
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
 
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
/**
 * @ClasssName PageBigScreenStatisticPartyOrg
 * @Description 党员活动统计
 * @Author cedoo
 * @Date 2021/6/16
 * @Version 1.0
 **/
@Data
public class BigScreenStatisticPartyActivityDTO {
 
    @ApiModelProperty(value = "社区id", hidden = true, example = "2", required = false)
    // @NotNull(message = "社区id不能为空")
    private Long communityId;
 
    @ApiModelProperty(value = "类型:3 按月 2.按周;默认为3", hidden = false, example = "3", required = false)
    @NotNull(message = "类型不能为空")
    private Integer type = 3;
 
    @ApiModelProperty(value = "日期", hidden = false, example = "2021-06-01", required = true)
    // @NotNull(message = "时间不能为空")
    @Pattern(regexp = "^\\d{4}-\\d{2}-\\d{2}$", message = "时间格式错误")
    private String date;
 
    @ApiModelProperty(value = "开始时间", hidden = false, example = "2021-06-01")
    @Pattern(regexp = "^\\d{4}-\\d{2}-\\d{2}$", message = "时间格式错误")
    private String startTime;
 
    @ApiModelProperty(value = "结束时间", hidden = false, example = "2021-06-01")
    @Pattern(regexp = "^\\d{4}-\\d{2}-\\d{2}$", message = "时间格式错误")
    private String endTime;
 
}