package cn.ey.biz.module.system.api.user.dto;

import cn.ey.biz.common.pojo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 *
 *
 */
@ApiModel("管理后台 - UsersForLastDateTimeReqDTO")
@Data
public class UsersForLastDateTimeReqDTO {
    @NotNull(message = "起始时间不能为空")
    @Pattern(regexp = "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$", message="时间格式不正确")
    @ApiModelProperty(value = "时间戳 yyyy-MM-dd HH:mm:ss",required = true,example = "2023-03-03 00:00:00")
    private  String  updateStartDateTime;

    @NotNull(message = "截止时间不能为空")
    @Pattern(regexp = "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$", message="时间格式不正确")
    @ApiModelProperty(value = "时间戳 yyyy-MM-dd HH:mm:ss",required = true,example = "2023-03-04 00:00:00")
    private  String  updateEndDateTime;






}
