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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.bo.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 *
 * Description:
 * Date: 2024/5/11  14:07【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "supervision_temp_line_report")
public class SupervisionTempLineReport  extends BaseEntity {
    @TableId(value = "id")
    private String id;

    @TableField(value = "org_id")
    private String orgId;

    /**
     * 填报日期
     */
    @TableField(value = "report_date")
    private LocalDate reportDate;

    /**
     * 填报人
     */
    @TableField(value = "reporter")
    private String reporter;

    /**
     * 所属地市
     */
    @TableField(value = "city")
    private String city;

    /**
     * 工程预期投产日期
     */
    @TableField(value = "expected_production_date")
    private LocalDate expectedProductionDate;

    /**
     * 用户状态
     */
    @TableField(value = "user_status")
    private String userStatus;

    /**
     * 关联干扰源用户id
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 关联干扰源用户id名称
     */
    @TableField(value = "user_name")
    private String userName;


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

    /**
     * 监测点电压等级
     */
    @TableField(value = "voltage_level")
    private String voltageLevel;

    /**
     * 接入母线
     */
    @TableField(value = "connected_bus")
    private String connectedBus;

    /**
     * 短路容量
     */
    @TableField(value = "short_capacity")
    private Float shortCapacity;

    /**
     * 协议容量
     */
    @TableField(value = "deal_capacity")
    private Float dealCapacity;

    /**
     * 设备容量
     */
    @TableField(value = "dev_capacity")
    private Float devCapacity;

    /**
     * 基准容量
     */
    @TableField(value = "standard_capacity")
    private Float standardCapacity;

    /**
     * CT变比
     */
    @TableField(value = "ct_1")
    private Integer ct1;

    @TableField(value = "ct_2")
    private Integer ct2;

    /**
     * PT变比
     */
    @TableField(value = "pt_1")
    private Integer pt1;

    @TableField(value = "pt_2")
    private Integer pt2;


    /**
     * 监测点编号
     */
    @TableField(value = "line_id")
    private String lineId;
    /**
     * 监测终端编码
     */
    @TableField(value = "monitoring_terminal_code")
    private String monitoringTerminalCode;


    /**
     * 监测终端名称
     */
    @TableField(value = "monitoring_terminal_name")
    private String monitoringTerminalName;
    /**
     * 测量间隔
     */
    @TableField(value = "time_interval")
    private Integer timeInterval;

    /**
     * 干扰源类型
     */
    @TableField(value = "Load_Type")
    private String loadType;

    /**
     * 干扰源类别
     */
    @TableField(value = "Business_Type")
    private String businessType;

    /**
     * 监测点性质
     */
    @TableField(value = "point_nature")
    private String pointNature;

    /**
     * 是否参与统计
     */
    @TableField(value = "is_statistical")
    private Integer isStatistical;
    /**
     * 线路号
     */
    @TableField(value = "num")
    private Integer num;

    /**
     * 线路号
     */
    @TableField(value = "pt_type")
    private Integer ptType ;

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

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

    /**
     * 是否并网点
     */
    @TableField(value = "is_grid_connection_point")
    private Integer isGridConnectionPoint;

    /**
     * 监测点运行状态
     */
    @TableField(value = "operation_status")
    private String operationStatus;

    /**
     * 主接线图
     */
    @TableField(value = "main_wiring_diagram")
    private String mainWiringDiagram;

    /**
     * 电压偏差上限
     */
    @TableField(value = "voltage_deviation_upper_limit")
    private Float voltageDeviationUpperLimit;

    /**
     * 电压偏差下限
     */
    @TableField(value = "voltage_deviation_lower_limit")
    private Float voltageDeviationLowerLimit;

    /**
     * 流程实例的编号
     */
    @TableField(value = "process_instance_id")
    private String processInstanceId;


    @TableField(value = "history_instance_id")
    private String historyInstanceId;

    /**
     * 1:审批中；2：审批通过；3：审批不通过；4：已取消
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 状态：0-删除 1-正常
     */
    @TableField(value = "State")
    private Integer state;
}
