package com.agent.management.repository;

import com.agent.management.model.entity.RagGraphGovernanceConfigEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface RagGraphGovernanceConfigRepository
        extends JpaRepository<RagGraphGovernanceConfigEntity, Long> {
    Optional<RagGraphGovernanceConfigEntity> findByGraphSourceId(Long graphSourceId);
    void deleteByGraphSourceId(Long graphSourceId);
}
