// Path: src/main/java/com/github/sandokandias/payments/domain/vo/PaymentEventType.java
// public enum PaymentEventType {
//     PAYMENT_REQUESTED,
//     PAYMENT_AUTHORIZED,
//     PAYMENT_CONFIRMED;
// }


import com.github.sandokandias.payments.domain.vo.PaymentEventType;
import lombok.*;
import org.springframework.data.cassandra.mapping.PrimaryKey;
import org.springframework.data.cassandra.mapping.Table;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.time.LocalDateTime;
package com.github.sandokandias.payments.infrastructure.persistence.mapping;




@NoArgsConstructor
@Getter
@Setter
@EqualsAndHashCode(exclude = {"eventData", "timestamp"})
@ToString
@Entity
@Table
public class PaymentEventTable {
    @PrimaryKey
    @Id
    private String eventId;
// Path: src/main/java/com/github/sandokandias/payments/domain/vo/PaymentEventType.java
// public enum PaymentEventType {
//     PAYMENT_REQUESTED,
//     PAYMENT_AUTHORIZED,
//     PAYMENT_CONFIRMED;
// }


// Path: src/main/java/com/github/sandokandias/payments/infrastructure/persistence/mapping/PaymentEventTable.java
import com.github.sandokandias.payments.domain.vo.PaymentEventType;
import lombok.*;
import org.springframework.data.cassandra.mapping.PrimaryKey;
import org.springframework.data.cassandra.mapping.Table;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.time.LocalDateTime;

package com.github.sandokandias.payments.infrastructure.persistence.mapping;




@NoArgsConstructor
@Getter
@Setter
@EqualsAndHashCode(exclude = {"eventData", "timestamp"})
@ToString
@Entity
@Table
public class PaymentEventTable {
    @PrimaryKey
    @Id
    private String eventId;
    private PaymentEventType eventType;