package de.oaa.xxx.gruppe.entity;

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

import java.util.UUID;

@Getter
@Setter
@Entity
@Table(name = "umfrage_option")
public class UmfrageOptionEntity {

    @Id
    @Column
    private UUID optionId;

    @Column(nullable = false)
    private UUID beitragId;

    @Column(length = 200, nullable = false)
    private String text;

    @Column(nullable = false)
    private int reihenfolge;
}
