Skip to content

Commit

Permalink
refactor(Application): otherActivities 칼럼에 not null 제약사항 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
mingmingmon committed Sep 10, 2024
1 parent c9452d6 commit 1b3432e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package page.clab.api.domain.hiring.application.domain;

import jakarta.persistence.Column;
import jakarta.validation.constraints.Size;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
Expand Down Expand Up @@ -30,6 +31,7 @@ public class Application {
private String interests;

@Size(min = 1, max = 1000, message = "{size.application.otherActivities}")
@Column(nullable = false)
private String otherActivities;

private String githubUrl;
Expand Down

0 comments on commit 1b3432e

Please sign in to comment.