package com.njcn.device.pms.pojo.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import com.njcn.db.bo.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 配网监测点
 * </p>
 *
 * @author hongawen
 * @since 2022-10-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("pms_distribution_monitor")
public class DistributionMonitor extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 监测点类别(字典)
     */
    @MppMultiId
    private String monitorSort;

    /**
     * 监测点ID
     */
    @MppMultiId
    private String monitorId;

    private String orgId;

    /**
     * 电压等级(字典)
     */
    private String voltageLevel;

    /**
     * 是否发电用户：0-否；1-是；
     */
    private Integer ifPowerUser;

    /**
     * 监测点状态(字典)
     */
    private String monitorState;

    /**
     * 创建日期
     */
    private LocalDateTime createdDate;


    private String monitorTag;

    /**
     * 数据状态：0-删除；1-正常；
     */
    private Integer status;

    /**
     * 关联的监测终端编号(外键)
     */
    private String terminalId;

    /**
     * 监测终端接线方式(字典)
     */
    private String terminalWiringMethod;

    /**
     * 统计间隔
     */
    private Integer statisticalInterval;

    /**
     * 线路id
     */
    private String lineId;

    /**
     * 电站id
     */
    private String powerStationId;

    /**
     * pt变比
     */
    private Float pt1;

    /**
     * pt变比
     */
    private Float pt2;

    /**
     * ct变比
     */
    private Float ct1;

    /**
     * ct变比
     */
    private Float ct2;

}
