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

import com.njcn.db.bo.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * <功能描述>
 *
 * @author wr
 * @createTime: 2023-02-22
 */
@Data
public class TransformerParam extends BaseEntity {

    @ApiModelProperty(value = "变压器id")
    @NotBlank(message = "变压器编号不能为空")
    private String id;

    @ApiModelProperty(value = "变压器名称")
    @NotBlank(message = "变压器名称不能为空")
    private String name;

    @ApiModelProperty(value = "变电站ID")
    @NotBlank(message = "变电站编号不能为空")
    private String powerId;

    @ApiModelProperty(value = "变电站名称")
    @NotBlank(message = "变电站名称不能为空")
    private String powerName;

    @ApiModelProperty(value = "所属部门id")
    @NotBlank(message = "部门编号不能为空")
    private String orgId;

    @ApiModelProperty(value = "所属部门名称")
    @NotBlank(message = "部门名称不能为空")
    private String orgName;

    @ApiModelProperty(value = "变压器类型")
    @NotBlank(message = "变压器类型不能为空")
    private String type;

    @ApiModelProperty(value = "装机容量")
    private Float iCapacity;

    @ApiModelProperty(value = "额定容量")
    @NotNull(message = "额定容量不能为空")
    private Float rCapacity;

    @ApiModelProperty(value = "额定电压（字典）")
    @NotBlank(message = "额定电压不能为空")
    private String voltage;

    @ApiModelProperty(value = "额定功率")
    private String ratedPower;

    @ApiModelProperty(value = "阻抗电压")
    private String impedanceVoltage;
}
