package com.hdkj.lt.modle.dto.recon;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 开关操作信息 (复用于 SwitchOp.listSwitchOp / switchSeq 的 closeBreakerOp / openBreakerOp).
 */
@Data
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class BreakerOpDTO {

    @JsonProperty("breaker_id")
    private String breakerId;

    private String name;

    @JsonProperty("psrType")
    private String psrType;

    @JsonProperty("autoType")
    private String autoType;

    @JsonProperty("operation_type")
    private String operationType;

    /** ISO8601 字符串, 如 2026-07-13T16:12:40+08:00 */
    @JsonProperty("timestamp")
    private String timestamp;
}