File tree Expand file tree Collapse file tree 5 files changed +9
-7
lines changed
src/main/java/com/guttery/madii/domain Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 22
33import io .swagger .v3 .oas .annotations .media .Schema ;
44import jakarta .validation .constraints .NotBlank ;
5+ import jakarta .validation .constraints .NotNull ;
56import jakarta .validation .constraints .Size ;
67
78@ Schema (description = "앨범 생성 요청" )
@@ -13,8 +14,8 @@ public record AlbumCreateRequestV2(
1314 @ Schema (description = "앨범 내용" , example = "이 소확행은 기분이 째질 때 츄라이해보면 좋은 소확행이에요." )
1415 @ Size (max =50 , message = "앨범 내용은 50자 이내로 입력해 주세요." )
1516 String description ,
16- @ NotBlank (message = "앨범 썸네일 색상 번호는 필수입니다." )
17+ @ NotNull (message = "앨범 썸네일 색상 번호는 필수입니다." )
1718 @ Schema (description = "앨범 썸네일 색상 번호" , example = "2" )
18- int albumCoverNum
19+ Integer albumCoverNum
1920) {
2021}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ public record JoyGetInfoV2(
66 @ Schema (description = "소확행 아이디" , example = "11" )
77 Long joyId ,
88 @ Schema (description = "소확행 썸네일 색상 번호" , example = "2" )
9- int joyColorNum ,
9+ Integer joyColorNum ,
1010 @ Schema (description = "소확행 내용" , example = "낮잠자기" )
1111 String contents ,
1212 @ Schema (description = "소확행 저장 여부" , example = "true(1)" )
Original file line number Diff line number Diff line change 22
33import io .swagger .v3 .oas .annotations .media .Schema ;
44import jakarta .validation .constraints .NotBlank ;
5+ import jakarta .validation .constraints .NotNull ;
56import jakarta .validation .constraints .Size ;
67
78@ Schema (description = "소확행 기록 요청" )
@@ -10,8 +11,8 @@ public record JoyCreateRequestV2(
1011 @ Schema (description = "소확행 내용" , example = "낮잠자기" )
1112 @ Size (max =30 , message = "소확행은 30자 이내로 입력해 주세요." )
1213 String contents ,
13- @ NotBlank (message = "소확행 썸네일 색상 번호는 필수입니다." )
14+ @ NotNull (message = "소확행 썸네일 색상 번호는 필수입니다." )
1415 @ Schema (description = "소확행 썸네일 색상 번호" , example = "2" )
15- int joyColorNum
16+ Integer joyColorNum
1617) {
1718}
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ public record JoyCreateResponseV2(
1010 @ Schema (description = "소확행 내용" , example = "낮잠자기" )
1111 String contents ,
1212 @ Schema (description = "소확행 썸네일 색상 번호" , example = "2" )
13- int joyColorNum
13+ Integer joyColorNum
1414) {
1515}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ public record JoyGetDetailResponseV2(
77 @ Schema (description = "소확행 아이디" , example = "11" )
88 Long joyId ,
99 @ Schema (description = "소확행 썸네일 색상 번호" , example = "2" )
10- int joyColorNum ,
10+ Integer joyColorNum ,
1111 @ Schema (description = "소확행 내용" , example = "낮잠자기" )
1212 String contents ,
1313 @ Schema (description = "소확행 저장 여부" , example = "true(1)" )
You can’t perform that action at this time.
0 commit comments