package com.pressing.domain.accounting;

import java.util.List;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AccountingSettingRepository extends JpaRepository<AccountingSetting, Long> {
    List<AccountingSetting> findBySiteIdOrderBySettingKeyAsc(Long siteId);
    Optional<AccountingSetting> findByIdAndSiteId(Long id, Long siteId);
}
