Skip to content

Commit

Permalink
feat: 공고 등록 API - 강아지 성별, 몸무게 제거 (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeong-hyeok committed Apr 18, 2024
1 parent 7a044a2 commit 3df9b25
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ public record PostCreateRequest(@NotBlank(message = "출발 지역은 필수 입
String dogName,
@NotNull(message = "강아지 사이즈는 필수 입력 값입니다.")
DogSize dogSize,
@NotNull(message = "강아지 성별은 필수 입력 값입니다.")
DogGender dogGender,
Float dogWeight,
String specifics) {

public static Post postToEntity(PostCreateRequest request, Dog dog, Intermediary intermediary) {
Expand All @@ -55,8 +52,6 @@ public Dog dogToEntity() {
return Dog.builder()
.name(dogName)
.size(dogSize)
.gender(dogGender)
.weight(dogWeight)
.specifics(specifics)
.build();
}
Expand Down

0 comments on commit 3df9b25

Please sign in to comment.