package com.ho.business.vo.req.elecPriceCurve;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @Description 电价曲线模板查询参数
 * Author yule
 * Date 2023/4/19 17:05
 */
@Data
public class ElecPriceTemplateReqVO {

    @ApiModelProperty(value = "电站id")
    @NotNull(message = "电站id不能为空")
    Integer stationId;
    /**
     * 模板名称
     */
    @ApiModelProperty(value = "模板名称")
    private String templateName;

    /**
     * 模板名称
     */
    @ApiModelProperty(value = "模板类型")
    private String elecType;

    @ApiModelProperty(value = "是否启用")
    Integer isEnable;

    List<Integer> ids ;

    @ApiModelProperty(value="模板有效期开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date validityStartTime;

    @ApiModelProperty(value="模板有效期结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date validityEndTime;
}
