[ADD]支出分析のためのAnalysisRepositoryを作成しました。
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
package com.example.demo.app.infra.repository;
|
||||||
|
|
||||||
|
import java.time.LocalDate;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.example.demo.app.infra.entity.AllocationEntity;
|
||||||
|
import com.example.demo.app.infra.entity.TransactionEntity;
|
||||||
|
import com.example.demo.app.infra.entity.UserEntity;
|
||||||
|
|
||||||
|
public interface AnalysisRepository {
|
||||||
|
|
||||||
|
List<TransactionEntity> findExpenseByPeriod(
|
||||||
|
Integer userId,
|
||||||
|
LocalDate startDate,
|
||||||
|
LocalDate endDate);
|
||||||
|
|
||||||
|
List<AllocationEntity> findAllocationByCourseId(
|
||||||
|
Integer courseId);
|
||||||
|
|
||||||
|
UserEntity findUserByUserId(
|
||||||
|
Integer userId);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user