| | |
| | | import org.hibernate.validator.constraints.URL; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.Min; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.Date; |
| | | |
| | |
| | | @ApiModelProperty(value = "发生地点-位置备注", hidden = false, example = "") |
| | | private String happentAddress; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件发生地点", hidden = false, example = "", required = true) |
| | | private String happenAddress; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "宣传区域-网格ID", hidden = false, example = "1", required = true) |
| | | @NotNull(message = "宣传区域不能为空") |
| | | private Long gridId; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "上报人ID", hidden = false, example = "1", required = true) |
| | | //@NotNull(message = "上报人不能为空") |
| | | private Long gridMemberId; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "宣传主题", hidden = false, example = "", required = true) |
| | | @NotNull(message = "宣传主题不能为空") |
| | | private String eventTitle; |
| | | |
| | | @Length(max=255) |
| | | @Length(max=500) |
| | | @ApiModelProperty(value = "宣传内容", hidden = false, example = "", required = true) |
| | | @NotNull(message = "宣传内容不能为空") |
| | | private String eventDes; |
| | |
| | | @NotNull(message = "宣传对象不能为空") |
| | | private String propagandaObject; |
| | | |
| | | @Length(max=10) |
| | | @Min(1) |
| | | @Length(max=8) |
| | | @ApiModelProperty(value = "宣传人数", hidden = false, example = "", required = true) |
| | | @NotNull(message = "宣传人数不能为空") |
| | | private String propagandaNum; |