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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 故障停电转供方案开关动作合环检验开关电流明细信息表
 * </p>
 *
 * @author luorui
 * @since 2025-05-29
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("fhzg_fault_transfer_scheme_switching_loop_sw_current_detail")
public class FaultTransferSchemeSwitchingLoopSwCurrentDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主建ID
     */
    @TableId("id")
    private Long id;

    /**
     * 开关动作ID(fhzg_fault_transfer_scheme_switching_sequence.id)
     */
    @TableField("switching_id")
    private Long switchingId;

    /**
     * 开关ID(hotXferSafetyCheckResult对应breakerLoopCheckResult的cbPSRID)
     */
    @TableField("switch_id")
    private String switchId;

    /**
     * 开关名称(hotXferSafetyCheckResult对应breakerLoopCheckResult的cbPSRID对应开关名称)
     */
    @TableField("switch_name")
    private String switchName;

    /**
     * 所属线路ID
     */
    @TableField("line_id")
    private String lineId;

    /**
     * 所属线路名称(依据拓扑表，可快速找到所属线路)
     */
    @TableField("line_name")
    private String lineName;

    /**
     * 合环前电流A(hotXferSafetyCheckResult对应breakerLoopCheckResult的beforeL)
     */
    @TableField("pre_loop_close_current")
    private String preLoopCloseCurrent;

    /**
     * 合环中电流A(hotXferSafetyCheckResult对应breakerLoopCheckResult的loopL)
     */
    @TableField("loop_close_current")
    private String loopCloseCurrent;

    /**
     * 解环后电流A(hotXferSafetyCheckResult对应breakerLoopCheckResult的afterL)
     */
    @TableField("loop_open_current")
    private String loopOpenCurrent;

    /**
     * 开关电流判定阈值
     */
    @TableField("current_threshold")
    private String currentThreshold;

    /**
     * 开关电流校验结果:1-通过，0-不通过
     */
    @TableField("switch_current_check")
    private String switchCurrentCheck;

    /**
     * 创建人
     */
    @TableField("creator")
    private Long creator;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 最后一次修改人
     */
    @TableField("last_editor")
    private Long lastEditor;

    /**
     * 最后一次修改时间
     */
    @TableField("last_time")
    private LocalDateTime lastTime;


}
