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_control")
public class DeleteDataSensibleControl {

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

    @Column(name = "agent_id")
    private Long agentId;

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

    @Column(name = "evnt_id")
    private Long eventId;

}
