package com.njcn.product.carrycapacity.pojo.param;

import com.njcn.product.carrycapacity.pojo.po.CarryCapacityDevicePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * 
 * Description:
 * Date: 2024/2/20  11:15【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CarryCapacityEvaluateParam {
    @ApiModelProperty(value = "接线类型不可为空\"星型接法_0\", \"三角型接法_1\", \"开口三角型接法_2\"")
    @NotBlank(message = "接线类型不能为空")
    private String ptType;
    @ApiModelProperty(value = "变压器连接方式")
    private String connectionMode;
    @ApiModelProperty(value = "功率因数（0.95-1之间）")
    @NotNull(message = "功率因数不能为空")
    private Double k;

    @ApiModelProperty(value = "专变用户,公变用户")
    @NotBlank(message = "用户类型不能为空")
    private String userMode;


    @ApiModelProperty(name = "scale",value = "电压等级")
    @NotBlank(message = "电压等级不能为空")
    private String scale;

    @ApiModelProperty(name = "shortCapacity",value = "短路容量")
    private Float shortCapacity;


    @ApiModelProperty(name = "deviceCapacity",value = "设备容量")
    private Float deviceCapacity;
    @ApiModelProperty(name = "userList",value = "干扰源用户设备列表")
    private List<CarryCapacityDevicePO> devList;
}