Skip to content

Commit

Permalink
refactor: Ticket,Festival 도메인 School notnull 제약사항 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
xxeol2 committed Sep 27, 2023
1 parent 0a1f237 commit bff1653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class Festival extends BaseTimeEntity {
@Size(max = 255)
private String thumbnail;

@NotNull
@ManyToOne(fetch = FetchType.LAZY)
private School school;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class Ticket extends BaseTimeEntity {
@ManyToOne(fetch = FetchType.LAZY)
private Stage stage;

@NotNull
private Long schoolId;

@NotNull
Expand Down

0 comments on commit bff1653

Please sign in to comment.