package com.izouma.nineth.repo;

import com.izouma.nineth.domain.AutoWithdrawRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Lock;
import org.springframework.data.jpa.repository.Query;

import javax.persistence.LockModeType;
import java.time.LocalDate;
import java.util.Optional;

public interface AutoWithdrawRecordRepo extends JpaRepository<AutoWithdrawRecord, Long> {

    Optional<AutoWithdrawRecord> findByDate(LocalDate date);
}
