package com.njcn.csdevice.pojo.param;

import com.njcn.web.constant.ValidMessage;
import com.njcn.web.pojo.annotation.DateTimeStrValid;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2023/6/20
 */
@Data
public class EnergyBaseParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @NotBlank(message = ValidMessage.ID_NOT_BLANK)
    private String id;

    @ApiModelProperty("lineId")
    @NotBlank(message = ValidMessage.ID_NOT_BLANK)
    private String lineId;

    @ApiModelProperty("pageNum")
    private Integer pageNum;

    @ApiModelProperty("pageSize")
    private Integer pageSize;

    @ApiModelProperty("startTime")
    @DateTimeStrValid
    private String startTime;

    @ApiModelProperty("endTime")
    @DateTimeStrValid
    private String endTime;

    @ApiModelProperty("searchValue")
    private String searchValue;

    @ApiModelProperty("dataLevel")
    private String dataLevel;
}
