package com.eactive.eai.rms.data.entity.onl.djb.webhook;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Comment;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Embeddable
public class WebhookReqApiId implements Serializable {

    @Column(name = "WEBHOOK_REQ_ID", nullable = false, length = 36)
    @Comment("웹훅 요청 ID")
    private String webhookReqId;

    @Column(name = "API_ID", nullable = false, length = 100)
    @Comment("API ID")
    private String apiId;
}
