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

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * pms-device
 *
 * @author cdf
 * @date 2022/10/26
 */
@Data
public class StatationStatParam {

    /**
     * 电站编号
     */
    @ApiModelProperty(value = "电站编号",required = true)
    private String powerId;

    /**
     * 电站编号
     */
    @ApiModelProperty(value = "电站名称",required = true)
    @NotBlank(message = "电站名称不可为空")
    private String powerName;


    @ApiModelProperty(value = "单位组织编号",required = true)
    @NotBlank(message = "单位组织编号不可为空")
    private String orgId;


    @ApiModelProperty(value = "单位组织名称",required = true)
    @NotBlank(message = "单位组织名称")
    private String orgName;
    /**
     * 应设点数量
     */
    @ApiModelProperty(value = "应设点数量",required = true)
    @NotNull(message = "应设点数量不可为空")
    private Integer shouldBeNum;

    /**
     * 电压等级(字典)
     */
    @ApiModelProperty(value = "电压等级",required = true)
    @NotBlank(message = "电压等级不可为空")
    private String voltageLevel;

    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    private Double longitude;

    /**
     * 维度
     */
    @ApiModelProperty(value = "维度")
    private Double latitude;

    /**
     *  关联中台的电站
     */
    @ApiModelProperty(value = "关联中台的电站")
    private String midStationId;

}
