package de.oaa.xxx.games.bdsm.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

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

@Getter
@Setter
@Entity
@Table(name = "bdsm_setup_draft")
public class BdsmSetupDraftEntity {

    @Id
    @Column(name = "user_id")
    private UUID userId;

    @Column(length = 36)
    private String setupId;

    @Column(columnDefinition = "TEXT")
    private String settingsJson;

    @Column(columnDefinition = "TEXT")
    private String setupJson;

    @Column(columnDefinition = "TEXT")
    private String gruppenJson;

    @Column
    private LocalDateTime updatedAt;
}
