package de.oaa.xxx.feed.entity;

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

import java.util.UUID;

@Getter
@Setter
@Entity
@Table(name = "feed_post_vote")
public class FeedPostVoteEntity {

    @Id
    @Column
    private UUID stimmeId;

    @Column(nullable = false)
    private UUID optionId;

    @Column(nullable = false)
    private UUID postId;

    @Column(nullable = false)
    private UUID userId;
}
