package com.ho.business.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author fancl
 * @desc: 电站曲线查询
 * @date 2023/1/6
 */
@Setter
@Getter
@ToString
public class StationCurveReq implements Serializable {


    @ApiModelProperty(value = "电站id")
    @NotNull(message = "电站id不能为空")
    Integer stationId;

    @ApiModelProperty(value = "查询类型 day：日  month:月  year：年")
    @NotEmpty(message = "查询类型不能为空")
    String type;

}
