package com.izouma.jmrh.repo;

import com.izouma.jmrh.domain.ResSnDProperty;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;

import javax.transaction.Transactional;

public interface ResSnDPropertyRepo extends JpaRepository<ResSnDProperty, Long>, JpaSpecificationExecutor<ResSnDProperty> {

    @Modifying
    @Transactional
    void deleteByResSnDId(Long resSnDId);
}