package de.oaa.xxx.social.entity;

import jakarta.persistence.*;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.UUID;

@Getter
@Setter
@Entity
@Table(name = "profile_visit")
public class ProfileVisitEntity {

    @Id
    @Column
    private UUID visitId;

    @Column(nullable = false)
    private UUID profileId;

    @Column(nullable = false)
    private UUID visitorId;

    @Column(nullable = false)
    private LocalDateTime visitedAt;
}
