package de.oaa.xxx.vorlieben;

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

import java.util.UUID;

@Getter
@Setter
@Entity
@Table(name = "vorliebe_kategorie")
public class VorliebeKategorieEntity {

    @Id
    @Column
    private UUID kategorieId;

    @Column(nullable = false, length = 100)
    private String name;

    @Column(nullable = false, columnDefinition = "INT DEFAULT 0")
    private int sortOrder;
}
