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

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

import javax.validation.constraints.NotBlank;

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

    @ApiModelProperty(value = "线路id",required = true)
    private String id;

    @ApiModelProperty(value = "线路名称",required = true)
    @NotBlank(message = "线路名称不可为空")
    private String name;

    @ApiModelProperty(value = "电站编号",required = true)
    @NotBlank(message = "电站编号不可为空")
    private String stationId;

    @ApiModelProperty(value = "电站名称",required = true)
    @NotBlank(message = "电站名称不可为空")
    private String stationName;

    @ApiModelProperty(value = "母线名称",required = true)
    private String generatrixName;

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

    @ApiModelProperty(value = "关联中台的母线id",required = true)
    private String midBusId;

}
