package com.bytesw.bytebot.etl.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import java.sql.Timestamp;

@Cacheable(false)
@Entity
@Getter
@Setter
@ToString
@Table(name="avb_delete_sens_msg_log")
public class DeleteDataSensibleLog {

    @Id
    @Column(name = "dele_id")
    @SequenceGenerator(name = "AVB_DELETE_MSG_SENS_LOG_GENERATOR", sequenceName = "AVB_DELETE_SENS_MSG_LOG_SEQ", initialValue = 1, allocationSize = 1)
    @GeneratedValue(strategy = GenerationType.SEQUENCE,generator = "AVB_DELETE_MSG_SENS_LOG_GENERATOR")
    private Long id;

    @Column(name = "inten_id")
    private Long intenId;

    @Column(name = "send_id")
    private String sendId;

    @Column(name = "dele_smsg")
    private String messageId;

    @Column(name = "dele_msmsg")
    private String multimediaId;

    @Column(name = "dele_fecej")
    private Timestamp date;

}
