File tree Expand file tree Collapse file tree
src/main/kotlin/gat_be/dev/domain Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ class FcmSendService {
3434 .putData(" deepLink" , notification.deepLink)
3535 .putData(" notificationId" , notification.notificationId.toString())
3636 .putData(" pk" , notificationEvent.pk.toString())
37+ .putData(" type" , notification.type.title)
3738 .build()
3839
3940 try {
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ data class CreateTeamRequest(
4949 val contactInfo : String? ,
5050
5151 @field:NotBlank(message = "팀의 인재상은 필수입니다.")
52+ @field:Size(max = 255, message = "인재상은 255자를 초과할 수 없습니다.")
5253 val idealTraits : String
5354)
5455
@@ -80,7 +81,10 @@ data class UpdateTeamRequest(
8081 val portfolioLink2 : String? ,
8182
8283 @field:Size(max = 30, message = "팀장의 연락처 정보는 30자를 초과할 수 없습니다.")
83- val contactInfo : String?
84+ val contactInfo : String? ,
85+
86+ @field:Size(max = 255, message = "인재상은 255자를 초과할 수 없습니다.")
87+ val idealTraits : String?
8488)
8589
8690data class TeamRecommendRequest (
Original file line number Diff line number Diff line change @@ -85,6 +85,8 @@ class Team(
8585 this .projectEndDate = endDate
8686 }
8787
88+ fun updateIdealTraits (idealTraits : String ) { this .idealTraits = idealTraits }
89+
8890 fun ensureCanProcessApplication () {
8991 if (status != TeamStatus .RECRUITING ) {
9092 throw GeneralException (ErrorStatus .CANNOT_PROCESS_WHEN_NOT_RECRUITING )
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ class TeamService(
9595 request.title?.let (::updateTitle)
9696 request.description?.let (::updateDescription)
9797 request.applicationDueDate?.let (::updateApplicationDueDate)
98+ request.idealTraits?.let (::updateIdealTraits)
9899 }
99100
100101 if (request.projectStartDate != null && request.projectEndDate != null ) {
You can’t perform that action at this time.
0 commit comments