package com.njcn.device.pq.pojo.param;

import com.njcn.web.constant.ValidMessage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.util.List;

/**
 *
 *
 * @author wr
 * @createTime: 2023-04-03
 */
@Data
@ApiModel
public class DevRunEvaluateParam {

    @ApiModelProperty(name = "deptIndex", value = "部门id")
    private String deptIndex;

    /**
     * 0-电网侧
     * 1-非电网侧
     */
    @ApiModelProperty("电网侧标识")
    @Range(min = 0, max = 2, message = "电网侧标识" + ValidMessage.PARAM_FORMAT_ERROR)
    private Integer powerFlag;

    @ApiModelProperty(name = "ids", value = "设备id")
    private List<String> ids;

    @ApiModelProperty(name = "startTime", value = "开始时间")
    private String startTime;

    @ApiModelProperty(name = "endTime", value = "结束时间")
    private String endTime;


}
