wl
2022-09-30 2a7c7c2fb4d97db3d34f0564194a314b267c6c67
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
package com.ycl.dto.casePool;
 
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
@Data
public class ViolationParam {
    /**
     * 问题类别(1-违规 2-违建)
     */
    @ApiModelProperty(value = "问题类别(1-违规 2-违建")
    @NotNull(message = "不允许问题类型为空")
    private Integer category;
 
    /**
     * 大类
     */
    @ApiModelProperty(value = "大类")
    @NotNull(message = "不允许大类为空")
    private Integer categoryId;
 
    /**
     * 小类
     */
    @ApiModelProperty(value = "小类")
    @NotNull(message = "不允许小类为空")
    private Integer typeId;
 
    /**
     * 案件等级
     */
    @ApiModelProperty(value = "案件等级")
    @NotNull(message = "不允许案件等级为空")
    private Integer gradeId;
 
    /**
     * 所属街道
     */
    @ApiModelProperty(value = "所属街道")
    @NotNull(message = "不允许所属街道为空")
    private Integer streetId;
 
    /**
     * 所属社区
     */
    @ApiModelProperty(value = "所属社区")
    @NotNull(message = "不允许所属社区为空")
    private Integer communityId;
 
 
    /**
     * 案由
     */
    @ApiModelProperty(value = "案由")
    @NotBlank(message = "不允许案由为空")
    private String actionCause;
 
 
    /**
     * 报警点位 事发地点
     */
    @ApiModelProperty(value = "事发地点")
    @NotBlank(message = "不允许事发地点为空")
    private String site;
 
    /**
     * 是否关联商铺
     */
    @ApiModelProperty(value = "是否关联商铺(0否1是)")
    private Integer linkShop;
 
    /**
     * 关联商铺名称
     */
    @ApiModelProperty(value = "关联商铺名称")
    private String shopName;
 
    /**
     * 车牌号
     */
    @ApiModelProperty(value = "车牌号")
    private String carNumber;
 
    /**
     * 问题描述
     */
    @ApiModelProperty(value = "问题描述")
    @NotBlank(message = "不允许问题描述为空")
    private String description;
 
    /**
     * 反映人
     */
    @ApiModelProperty(value = "反映人")
    private String informant;
 
    /**
     * 反映人联系方式
     */
    @ApiModelProperty(value = "反映人联系方式")
    private String informantPhoneCode;
 
    /**
     * 身份证号码
     */
    @ApiModelProperty(value = "身份证号码")
    private String informantIdCard;
}