Skip to content

Commit

Permalink
[merge] submitter 엔티티 구조 변경
Browse files Browse the repository at this point in the history
[refactor] submitter 엔티티 구조 변경
  • Loading branch information
lreowy authored Sep 3, 2024
2 parents a8e1b95 + 047fb01 commit 02d553b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.JdbcTypeCode;
import org.hibernate.type.SqlTypes;

@Entity
@Getter
Expand Down Expand Up @@ -46,9 +44,6 @@ public class Submitter extends BaseTimeEntity {
@Size(max = 15)
private String nickname;

@JdbcTypeCode(SqlTypes.JSON)
private SubmitterCategoryInfo categoryList;

@Size(max = 300)
private String plan;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public void createSubmitter(Long guestId, SubmitterCreateRequest request) {
.goal(request.goal())
.link(request.link())
.nickname(request.nickname())
.categoryList(request.categoryList())
.email(request.email())
.plan(request.plan())
.userKeyword(request.userKeyword())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public List<SubmitterListGetResponse> getSubmitterList() {
.goal(submitter.getGoal())
.link(submitter.getLink())
.nickname(submitter.getNickname())
.categoryList(submitter.getCategoryList())
.plan(submitter.getPlan())
.email(submitter.getEmail())
.submitterState(submitter.getSubmitterState())
Expand Down

0 comments on commit 02d553b

Please sign in to comment.