package com.hdkj.lt.core.bizms.modle.po.plan;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.hdkj.lt.base.model.entity.FhzgBaseEntity;
import com.hdkj.lt.base.serializer.BigDecimalSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 计划停电对侧线路承载能力信息表 实体类
 *
 * @author zhousc
 * @since 2025-05-07
 */
@TableName("fhzg_plan_opposite_line_carry_capacity")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class FhzgPlanOppositeLineCarryCapacity extends FhzgBaseEntity {

    /**
     * 计划停电ID
     **/
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty("计划停电ID(fhzg_plan_power_cut.id)")
    private Long planId;
    /**
     * 额定容量
     **/
    @ApiModelProperty("额定容量")
    @JsonSerialize(using = BigDecimalSerializer.Keep2DecimalSerializer.class)
    private BigDecimal ratedCapacity;

    /**
     * 额定电流
     **/
    @ApiModelProperty("额定电流(最大允许电流)")
    @JsonSerialize(using = BigDecimalSerializer.Keep2DecimalSerializer.class)
    private BigDecimal ratedCurrent;

    /**
     * 最大电流
     **/
    @ApiModelProperty("最大电流")
    @JsonSerialize(using = BigDecimalSerializer.Keep2DecimalSerializer.class)
    private BigDecimal maxCurrent;
    /**
     * 最大负负载率
     **/
    @ApiModelProperty("最大负负载率")
    @JsonSerialize(using = BigDecimalSerializer.Keep2DecimalSerializer.class)
    private BigDecimal maxLoadFactor;
    /**
     * 可带供容量
     **/
    @ApiModelProperty("可带供容量")
    @JsonSerialize(using = BigDecimalSerializer.Keep2DecimalSerializer.class)
    private BigDecimal deliverableCapacity;

    @ApiModelProperty("对侧线路id")
    private String lineId;

    @ApiModelProperty("对侧线路名称")
    private String lineName;
}
