package com.njcn.energy.pojo.param;

import com.njcn.web.pojo.annotation.DateTimeStrValid;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

/**
 * pqs
 *
 * @author cdf
 * @date 2022/3/14
 */
@Data
@Validated
public class DevLineQueryParam {
    @NotBlank(message = "id不可为空")
    @ApiModelProperty("id")
    private String id;

    @DateTimeStrValid
    private String beginTime;

    @DateTimeStrValid
    private String endTime;

    @ApiModelProperty("页码")
    private Integer page;
    @ApiModelProperty("页面尺寸")
    private Integer pageSize;
}
