Skip to content

Commit

Permalink
refactor: (#798) 어노테이션 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
pji-min committed Feb 12, 2025
1 parent 320c0d6 commit 39dca3a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package team.aliens.dms.domain.vote.usecase

import team.aliens.dms.common.annotation.UseCase
import team.aliens.dms.common.annotation.ReadOnlyUseCase
import team.aliens.dms.domain.vote.dto.response.ModelStudentListResponse
import team.aliens.dms.domain.vote.service.ModelStudentListService
import java.time.LocalDate

@UseCase
@ReadOnlyUseCase
class GetModelStudentsUseCase(
private val modelStudentListService: ModelStudentListService
) {
fun execute(requestDate: LocalDate): List<ModelStudentListResponse> {
return modelStudentListService.getModelStudentList(requestDate)
fun execute(date: LocalDate): List<ModelStudentListResponse> {
return modelStudentListService.getModelStudentList(date)
}
}

0 comments on commit 39dca3a

Please sign in to comment.