Skip to content

Commit c592140

Browse files
committed
post 필드 명 수정 career -> job
1 parent 65c60a5 commit c592140

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

back/src/main/java/com/back/domain/post/post/entity/Post.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public enum PostType {
4242
private int viewCount;
4343

4444
private Boolean isMento;
45-
private String career;
45+
private String job;
4646

4747
private Boolean isResolve;
4848

@@ -108,7 +108,7 @@ public void updateResolveStatus(Boolean isResolve) {
108108
this.isResolve = isResolve;
109109
}
110110

111-
public void updateCareer(String career) {
112-
this.career = career;
111+
public void updateJob(String job) {
112+
this.job = job;
113113
}
114114
}

back/src/main/java/com/back/domain/post/post/service/PostService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public Post createPracticePost(PracticePostCreateRequest practicePostCreateReque
7373
.postType(postType)
7474
.build();
7575

76-
post.updateCareer(practicePostCreateRequest.job());
76+
post.updateJob(practicePostCreateRequest.job());
7777

7878
postRepository.save(post);
7979

0 commit comments

Comments
 (0)