package de.oaa.xxx.games.chastity.keyholder;

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

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

@Getter
@Setter
@Entity
@Table(name = "keyholder_task_choice")
public class KeyholderTaskChoiceEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.UUID)
    private UUID choiceId;

    @Column(nullable = false)
    private UUID lockId;

    @Column(nullable = false)
    private boolean active = true;

    @Column(nullable = false)
    private LocalDateTime createdAt;

    @Column
    private LocalDateTime expiresAt;
}
