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

import com.jiayue.ipfcst.common.data.abst.AbstractBaseEntity;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.springframework.core.annotation.Order;

import javax.persistence.*;
/**
 * 回传日志
 *
 * @author zy
 * @version 1.0
 * @since 2021/4/21
 */
@Data
@Entity
public class SendLog extends AbstractBaseEntity {
    @Id
    @Order(1)
    @GeneratedValue(strategy = GenerationType.AUTO, generator = "myid")
    @GenericGenerator(name = "myid", strategy = "com.jiayue.ipfcst.common.data.entity.id.CustomIDGenerator")
    private Integer id;
    /*通道名称*/
    @Column
    private String tunnelName;

    /*通道号*/
    @Column
    private String tunnelId;

    /*转发内容*/
    @Column
    @Lob
    private String sendLog;

    /*场站标识*/
    @Column
    private String stationCode;


    /*转发状态*/
    @Column
    private String status;
}
