package com.njcn.product.terminal.mysqlTerminal.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @Author: cdf
 * @CreateTime: 2025-09-01
 * @Description:
 */
@Data
public class LedgerBaseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String lineId;

    private String lineName;

    private Integer num;

    private String voltageLevel;

    private String objName;

    private String userNo;

    private Double ct1;

    private Double ct2;

    private Double pt1;

    private Double pt2;

    private Integer ptType;

    private Integer timeInterval;

    private String busBarId;

    private String busBarName;

    /**
     * 0：中断；1：正常
     */
    private Integer comFlag;

    /**
     * 0：投运；1：热备用；2：停运
     */
    private Integer runFlag;

    private String devId;

    private String devName;

    private String ip;

    private String manufacturer;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd")
    private LocalDate loginTime;

    private String stationId;

    private String stationName;

    private String gdId;

    private String gdName;
}
