package com.gnx.telemedicine.repository;

import com.gnx.telemedicine.model.DataRetentionPolicy;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

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

@Repository
public interface DataRetentionPolicyRepository extends JpaRepository<DataRetentionPolicy, UUID> {
    Optional<DataRetentionPolicy> findByDataType(String dataType);
}

