package com.njcn.gather.tool.addledger.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.mybatisplus.bo.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 监测点信息。
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("cs_line")
public class AddLedgerLinePO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("line_id")
    private String lineId;

    private String name;

    private String deviceId;

    private String dataSetId;

    private String dataModelId;

    private String position;

    private BigDecimal volGrade;

    private Integer runStatus;

    @TableField("conType")
    private Integer conType;

    private BigDecimal ptRatio;

    private BigDecimal pt2Ratio;

    private BigDecimal ctRatio;

    private BigDecimal ct2Ratio;

    private Integer status;

    @TableField("clDid")
    private Integer clDid;

    private Integer lineInterval;

    private Integer lineNo;

    private BigDecimal shortCircuitCapacity;

    private BigDecimal devCapacity;

    private BigDecimal basicCapacity;

    private BigDecimal protocolCapacity;

    /**
     * 线路类型：0 主网，1 配网。
     */
    @TableField(exist = false)
    private Integer lineType;

    private String monitorObj;

    private Integer isGovern;

    private String monitorUser;

    private String reportFilePath;

    private String lineLogLevel;

    private Integer isImportant;
}
