国网推送
This commit is contained in:
@@ -17,20 +17,20 @@ import javax.validation.constraints.Pattern;
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Data
|
||||
public class SendParam {
|
||||
public class SendQueryParam {
|
||||
@ApiModelProperty(name = "deptIndex", value = "部门索引", required = true)
|
||||
@NotBlank(message = "部门索引不可为空")
|
||||
private String deptIndex;
|
||||
|
||||
@ApiModelProperty("开始时间")
|
||||
@Pattern(regexp = PatternRegex.TIME_FORMAT, message = "时间格式错误")
|
||||
@Pattern(regexp = PatternRegex.TIME_SECOND_FORMAT, message = "时间格式错误")
|
||||
private String searchBeginTime;
|
||||
|
||||
@ApiModelProperty("结束时间")
|
||||
@Pattern(regexp = PatternRegex.TIME_FORMAT, message = "时间格式错误")
|
||||
@Pattern(regexp = PatternRegex.TIME_SECOND_FORMAT, message = "时间格式错误")
|
||||
private String searchEndTime;
|
||||
@Data
|
||||
public static class SendPageParam extends SendParam{
|
||||
public static class SendPageParam extends SendQueryParam {
|
||||
@NotNull(message="当前页不能为空!")
|
||||
@Min(value = 1, message = "当前页不能为0")
|
||||
@ApiModelProperty(value = "当前页",name = "currentPage",dataType ="Integer",required = true)
|
||||
Reference in New Issue
Block a user