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

import de.oaa.xxx.games.bdsm.entity.BdsmSetupDraftEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;
import java.util.UUID;

public interface BdsmSetupDraftRepository extends JpaRepository<BdsmSetupDraftEntity, UUID> {
    Optional<BdsmSetupDraftEntity> findByUserId(UUID userId);
    Optional<BdsmSetupDraftEntity> findBySetupId(String setupId);
}
