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 FhzgPlanTransferSchemeFinalSwitchCurrentDetailDTO  implements Serializable {
    /**
     * 主建ID
     */
    private Long id;
    /**
     * 开关动作ID(fhzg_plan_transfer_scheme_switching_sequence.id)
     */
    private Long switchingId;
    /**
     * 开关ID
     */
    private String switchId;
    /**
     * 开关名称
     */
    private String switchName;
    /**
     * 所属线路ID
     */
    private String lineId;
    /**
     * 所属线路名称(依据拓扑表，可快速找到所属线路)
     */
    private String lineName;
    /**
     * 合环前电流(A)
     */
    private String preLoopCloseCurrent;
    /**
     * 合环中电流(A)
     */
    private String loopCloseCurrent;
    /**
     * 解环后电流(A)
     */
    private String loopOpenCurrent;
    /**
     * 开关电流判定阈值(过流III段)
     */
    @JsonSerialize(using = StringFormatSerializer.Keep2StringSerializer.class)
    private String currentThreshold;
    /**
     * 开关电流校验结果:1-通过，0-不通过
     */
    private String switchCurrentCheck;
    /**
     * 转供后24小时最大电流
     */
    @JsonSerialize(using = StringFormatSerializer.Keep2StringSerializer.class)
    private String  maxAfter24hI;

    /**
     * 开关所属线路额定电流
     */
    @TableField("line_rate_current")
    private String lineRateCurrent;

    /**
     * 开关额定电流
     */
    @TableField("switch_rate_current")
    private String switchRateCurrent;


}
