package com.jiayue.ipfcst.common.data.entity;

import lombok.Data;
import org.springframework.core.annotation.Order;

import javax.persistence.*;

/**
 * 通信设备
 *
 * @author zy
 * @version 3.0
 */
@Data
@Entity
public class CommunicationEquipment {
    /**
     * Id
     */
    @Id
    @Order(1)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    Integer id;
    /**
     * 通信设备名称
     */
    @Column
    private String name;
    /**
     * 通信设备的网卡名称
     */
    @Column
    private String  netCardName;
    /**
     * 通信设备网卡的Ip地址
     */
    @Column
    private String  netCardIp;
    /**
     * 通信设备的子网掩码
     */
    @Column
    private String  netmask;
    /**
     * 通信设备的网关
     */
    @Column
    private String  gateway;
    /**
     * 通信设备的端口
     */
    @Column
    private String  port;
    /**
     * 功率预测名称
     */
    @Column
    private String systemName;
    /**
     * 功率预测的网卡名称
     */
    @Column
    private String  systemNetCardName;
    /**
     * 功率预测网卡的Ip地址
     */
    @Column
    private String  systemNetCardIp;
    /**
     * 功率预测的子网掩码
     */
    @Column
    private String  systemNetmask;
    /**
     * 功率预测的网关
     */
    @Column
    private String  systemGateway;
    /**
     * 功率预测的端口
     */
    @Column
    private String  systemPort;
}
