package com.hdkj.lt.bf.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.hdkj.lt.base.serializer.StringFormatSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author luorui
 * @date 2025/5/16 19:55
 * 终态过程校验开关电流详情
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FhzgLimitTransferSchemeFinalSegmentCurrentDetailDTO implements Serializable {

    /**
     * 主建ID
     */
    private Long id;
    /**
     * 开关动作ID(fhzg_fault_transfer_scheme_switching_sequence.id)
     */
    private Long switchingId;
    /**
     * 导线段ID
     */
    private String segmentId;
    /**
     * 导线段名称
     */
    private String segmentName;
    /**
     * 所属线路ID
     */
    private String lineId;
    /**
     * 所属线路名称(依据拓扑表，可快速找到所属线路)
     */
    private String lineName;
    /**
     * 导线标定载流量(A)
     */
    private String segmentRatedAmpacity;
    /**
     * 合环前电流(A)
     */
    private String preLoopCloseCurrent;
    /**
     * 解环后电流(A)
     */
    private String loopOpenCurrent;
    /**
     * 导线段电流判定阈值
     */
    private String currentThreshold;
    /**
     * 导线段电流校验结果:1-通过，0-不通过
     */
    private String segmentCurrentCheck;
    /**
     * 线路额定电流
     */
    @JsonSerialize(using = StringFormatSerializer.Keep2StringSerializer.class)
    private String  ratedI;
    /**
     * 转供后24小时最大电流
     */
    @JsonSerialize(using = StringFormatSerializer.Keep2StringSerializer.class)
    private String  maxAfter24hI;

    /**
     * 单线图中的图元ID
     */
    @TableField(exist = false)
    private String rdfId;

}
