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

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

import javax.persistence.*;
import java.io.Serializable;

/**
 * 通道告警实体
 * @author zy
 * @version 3.0
 */
@Data
@Entity
public class ChannelAlarmInfo implements Serializable {
    /**
     * Id
     */
    @Id
    @Order(1)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    Integer id;
    /**
     * 通道类型 上报upload 回传callBack 接收 dataexchange
     */
    @Column
    private String channelType;
    /**
     * 通道号
     */
    @Column
    private String channelId;
}
