国网推送

This commit is contained in:
hzj
2023-12-14 14:37:31 +08:00
parent 704c241ca6
commit 3761955e81
10 changed files with 265 additions and 25 deletions

View File

@@ -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)