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 = "pinnwand_like")
public class PinnwandLikeEntity {

    @Id
    @Column
    private UUID likeId;

    @Column(nullable = false)
    private UUID eintragId;

    @Column(nullable = false)
    private UUID userId;

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