Skip to content

Commit

Permalink
#97 fix : StackName 안쓰는 apply 부분 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
sycuuui committed Apr 6, 2024
1 parent 474fc4d commit 660bd8b
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.gongjakso.server.domain.post.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.gongjakso.server.domain.apply.entity.Apply;
import com.gongjakso.server.global.common.BaseTimeEntity;
import jakarta.persistence.*;
import lombok.AccessLevel;
Expand All @@ -25,11 +24,6 @@ public class StackName extends BaseTimeEntity {
@JsonIgnore
private Post post;

@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "apply_id")
@JsonIgnore
private Apply apply;

@Column(name = "stack_name_type", nullable = false, columnDefinition = "varchar(20)")
private String stackNameType;

Expand All @@ -38,10 +32,4 @@ public StackName(Post post, String stackNameType) {
this.post = post;
this.stackNameType = stackNameType;
}

@Builder
public StackName(Apply apply, String stackNameType) {
this.apply = apply;
this.stackNameType = stackNameType;
}
}

0 comments on commit 660bd8b

Please sign in to comment.