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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hdkj.lt.base.model.entity.FhzgBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author luorui
 * @date 2025/5/17 8:49
 * 对侧负载率信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("fhzg_plan_transfer_scheme_opposite_line_load_factor")
public class FhzgPlanTransferSchemeOppositeLineLoadFactor extends FhzgBaseEntity {

    /**
     * 计划停电区域方案ID(fhzg_plan_transfer_scheme.id)
     */
    private Long schemeId;
    /**
     * 对侧联络线路ID(finalStateSafetyCheckResult的feederSafetyCheckResult的bFdPSRID)
     */
    private String oppositeLineId;
    /**
     * 对侧联络线路名称(finalStateSafetyCheckResult的feederSafetyCheckResult的bFdPSRID对应名称)
     */
    private String oppositeLineName;
    /**
     * 转供后计算电流值(接口暂未提供)
     */
    private BigDecimal calculatedCurrent;
    /**
     * 额定电流(台账设备字段信息)
     */
    private BigDecimal ratedCurrent;
    /**
     * 负载率(计算:calculated_current/rated_current*100)
     */
    private BigDecimal loadFactor;

    /**
     * 转供前对侧负载率（转供前电流值planMaxCurrentValue-可转设备最大电流/线路额定电流*100）
     */
    private BigDecimal beforeLoadFactor;

    /**
     * 分页页长
     */
    @TableField(exist = false)
    private Long pageSize;

    /**
     * 分页页码
     */
    @TableField(exist = false)
    private Long pageNum;

}
