package com.njcn.influx.bo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

import lombok.Data;

/**
 * Description:
 * Date: 2024/5/17  11:21【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@ApiModel(description = "PQ_LINEDETAIL")
@Data
@TableName(value = "PQ_LINEDETAIL")
public class OraclePqLineDetail {


    /**
     * 监测点id
     */
    @TableField(value = "LINE_INDEX")
    private String lineIndex;

    /**
     * 供电公司序号
     */
    @TableField(value = "GD_INDEX")
    private Integer gdIndex;

    /**
     * 变电站序号
     */
    @TableField(value = "SUB_INDEX")
    private Integer subIndex;

    /**
     * 监测点名称
     */
    @TableField(value = "LINE_NAME")
    private String lineName;

    /**
     * 接线类型(0:星型接法;1:三角型接法;2:开口三角型接法)
     */
    @TableField(value = "PTTYPE")
    private Integer pttype;

    /**
     * 上次数据更新时间
     */
    @TableField(value = "LAST_TIME")
    private LocalDateTime lastTime;

    /**
     * 测量间隔（1~10
     */
    @TableField(value = "TINTERVAL")
    private Short tinterval;

    /**
     * （关联PQS_Dicdata表）负荷类型Guid
     */
    @TableField(value = "LOADTYPE")
    private String loadtype;

    /**
     * （关联PQS_Dicdata表）行业类型Guid
     */
    @TableField(value = "BUSINESSTYPE")
    private String businesstype;

    /**
     * 备注
     */
    @TableField(value = "REMARK")
    private String remark;

    /**
     * 国网谐波监测平台监测点号
     */
    @TableField(value = "MONITOR_ID")
    private String monitorId;

    /**
     * 监测点性质
     */
    @TableField(value = "POWERID")
    private Integer powerid;

    /**
     *监测点对象名称
     */
    @TableField(value = "OBJNAME")
    private String objname;

    /**
     * 统计类型
     */
    @TableField(value = "STATFLAG")
    private Integer statflag;

    /**
     *
     */
    @TableField(value = "LINE_GRADE")
    private String lineGrade;

    /**
     * 电网侧变电站名称
     */
    @TableField(value = "POWER_SUBSTATION_NAME")
    private String powerSubstationName;

    /**
     * 挂接线路
     */
    @TableField(value = "HANG_LINE")
    private String hangLine;

    /**
     * 拥有者职务
     */
    @TableField(value = "OWNER_DUTY")
    private String ownerDuty;

    /**
     * 监测点拥有者
     */
    @TableField(value = "OWNER")
    private String owner;


    /**
     * 拥有者联系方式
     */
    @TableField(value = "OWNER_TEL")
    private String ownerTel;

    /**
     * 接线图
     */
    @TableField(value = "WIRING_DIAGRAM")
    private String wiringDiagram;

    /**
     * 上级电站
     */
    @TableField(value = "SUPERIORS_SUBSTATION")
    private String superiorsSubstation;

    /**
     * 分类等级 内容为Ⅰ、Ⅱ、Ⅲ、Ⅳ
     */
    @TableField(value = "CLASSIFICATION_GRADE")
    private String classificationGrade;


    /**
     * PT一次变比
     */
    @TableField(exist = false)
    private Float pt1;

    /**
     * PT二次变比
     */
    @TableField(exist = false)
    private Float pt2;

    /**
     * CT一次变比
     */
    @TableField(exist = false)
    private Float ct1;

    /**
     * CT二次变比
     */
    @TableField(exist = false)
    private Float ct2;

    //设备容量
    @TableField(exist = false)
    private Float devcMp;

    //短路容量
    @TableField(exist = false)
    private Float dlcMp;

    //基准容量
    @TableField(exist = false)
    private Float jzcMp;

    //协议容量
    @TableField(exist = false)
    private Float xycMp;
}