Skip to content

Commit

Permalink
chore: (#191) javadoc 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
softpeanut committed Dec 7, 2022
1 parent 144b66a commit 9ba79e7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ import team.comit.simtong.domain.file.exception.InvalidEmployeeException
import team.comit.simtong.domain.file.spi.QueryEmployeeCertificatePort
import team.comit.simtong.global.annotation.ReadOnlyUseCase

/**
*
* 입력받은 이름과 사원번호를 DB에서 비교해 일치하는지 확인하는 CheckEmployeeUseCase
*
* @author kimbeomjin
* @date 2022/12/07
* @version 1.0.0
**/
@ReadOnlyUseCase
class CheckEmployeeUseCase(
private val queryEmployeeCertificatePort: QueryEmployeeCertificatePort
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ package team.comit.simtong.domain.file.exception
import team.comit.simtong.domain.file.error.FileErrorCode
import team.comit.simtong.global.error.BusinessException

/**
*
* DB에 저장된 일치하는 사원이 없는 경우 발생시키는 InvalidEmployeeException
*
* @author kimbeomjin
* @date 2022/12/07
* @version 1.0.0
**/
object InvalidEmployeeException : BusinessException(
FileErrorCode.INVALID_EMPLOYEE
)
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
package team.comit.simtong.domain.file.spi

/**
*
* EmployeeCertificate Domain에 관한 Query를 요청하는 QueryEmployeeCertificatePort
*
* @author kimbeomjin
* @date 2022/12/07
* @version 1.0.0
**/
interface QueryEmployeeCertificatePort {

fun existsEmployeeCertificateByNameAndEmployeeNumber(name: String, employeeNumber: Int): Boolean
Expand Down

0 comments on commit 9ba79e7

Please sign in to comment.