Skip to content

Commit

Permalink
add: (#281) ModelAttribute 복구
Browse files Browse the repository at this point in the history
  • Loading branch information
khcho0125 committed Jan 11, 2023
1 parent c5f1f6f commit ba02e8d
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package team.comit.simtong.domain.common.dto.request

import org.hibernate.validator.constraints.Range
import team.comit.simtong.domain.user.model.value.EmployeeNumber
import javax.validation.constraints.Email
import javax.validation.constraints.NotBlank

/**
*
* 사원번호와 이메일로 계정 여부를 요청하는 CheckMatchedAccountWebRequest
*
* @author Chokyunghyeon
* @date 2023/01/10
* @version 1.2.5
**/
data class CheckMatchedAccountWebRequest(
@field:Range(min = EmployeeNumber.MIN_VALUE, max = EmployeeNumber.MAX_VALUE)
val employeeNumber: Int,

@field:NotBlank
@field:Email
val email: String
)

0 comments on commit ba02e8d

Please sign in to comment.