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

import java.util.Map;

import de.oaa.xxx.games.chastity.common.BaseLockTemplateEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Convert;
import jakarta.persistence.DiscriminatorValue;
import jakarta.persistence.Entity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
@DiscriminatorValue("CARDLOCK")
public class CardlockTemplateEntity extends BaseLockTemplateEntity {

    @Convert(converter = CardCountMapConverter.class)
    @Column(columnDefinition = "TEXT")
    private Map<String, Integer> cardCountsMin;
    @Convert(converter = CardCountMapConverter.class)
    @Column(columnDefinition = "TEXT")
    private Map<String, Integer> cardCountsMax;
    @Column
    private Integer pickEveryMinute;
    @Column
    private boolean accumulatePicks;
    @Column
    private boolean showRemainingCards;
    @Column
    private boolean requiresVerification;

}
