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

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 lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

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

    /**
     * 所属供电公司
     */
    @TableField(value = "power_company")
    private String powerCompany;



    /**
     * 0 关联系统内变电站;1用户手动输入变电站
     */
    @TableField(value = "custom_substation_flag")
    private Integer customSubstationFlag;


    /**
     * 所属变电站
     */
    @TableField(value = "substation")
    private String substation;
    /**
     * 所属变电站
     */
    @TableField(value = "substation_name")
    private String substationName;

    /**
     * 变电站电压等级
     */
    @TableField(value = "substation_voltage_level")
    private String substationVoltageLevel;

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

    /**
     * 监测终端名称
     */
    @TableField(value = "monitoring_terminal_name")
    private String monitoringTerminalName;

    /**
     * 电压互感器类型
     */
    @TableField(value = "voltage_transformer_type")
    private String voltageTransformerType;

    /**
     * 终端接线方式类型
     */
    @TableField(value = "terminal_wiring_method_type")
    private String terminalWiringMethodType;

    /**
     * 中性点接线方式
     */
    @TableField(value = "neutral_point_wiring_method")
    private String neutralPointWiringMethod;

    /**
     * 厂家
     */
    @TableField(value = "manufacturer")
    private String manufacturer;

    /**
     * 厂家设备编号
     */
    @TableField(value = "manufacturer_device_number")
    private String manufacturerDeviceNumber;

    /**
     * 终端IP
     */
    @TableField(value = "terminal_ip")
    private String terminalIp;

    /**
     * 终端型号
     */
    @TableField(value = "terminal_type")
    private String terminalType;

    /**
     * 端口
     */
    @TableField(value = "terminal_port")
    private String terminalPort;

    /**
     * 所属前置机
     */
    @TableField(value = "front_end_machine")
    private String frontEndMachine;

    /**
     * 本次终端检测时间
     */
    @TableField(value = "current_terminal_detection_time")
    private LocalDateTime currentTerminalDetectionTime;

    /**
     * 下次终端定检时间
     */
    @TableField(value = "next_terminal_inspection_time")
    private LocalDateTime nextTerminalInspectionTime;

    /**
     * 识别码
     */
    @TableField(value = "identification_code")
    private String identificationCode;

    /**
     * 终端秘钥
     */
    @TableField(value = "terminal_secret_key")
    private String terminalSecretKey;

    /**
     * 经度
     */
    @TableField(value = "longitude")
    private BigDecimal longitude;

    /**
     * 纬度
     */
    @TableField(value = "latitude")
    private BigDecimal latitude;

    /**
     * 终端模型
     */
    @TableField(value = "terminal_model")
    private String terminalModel;

    /**
     * 数据类型
     */
    @TableField(value = "data_type")
    private String dataType;

    /**
     * 通讯状态
     */
    @TableField(value = "communication_status")
    private String communicationStatus;

    /**
     * SIM卡号
     */
    @TableField(value = "sim_card_number")
    private String simCardNumber;

    /**
     * 投运时间
     */
    @TableField(value = "commissioning_time")
    private LocalDateTime commissioningTime;

    /**
     * 数据更新时间
     */
    @TableField(value = "data_update_time")
    private LocalDateTime dataUpdateTime;

    /**
     * 对时功能
     */
    @TableField(value = "time_sync_function")
    private Integer timeSyncFunction;

    /**
     * 电度功能
     */
    @TableField(value = "electroplating_function")
    private Integer electroplatingFunction;

    /**
     * 监测装置安装位置
     */
    @TableField(value = "monitoring_device_installation_position")
    private String monitoringDeviceInstallationPosition;

    /**
     * 召唤标志
     */
    @TableField(value = "summon_flag")
    private String summonFlag;

    /**
     * 告警功能
     */
    @TableField(value = "alarm_function")
    private String alarmFunction;

    /**
     * 合同号
     */
    @TableField(value = "contract_number")
    private String contractNumber;

    @TableField(value = "front_type")
    private String frontType;


}