Skip to content

Commit

Permalink
🔀 :: (#292) Relation Entity버그
Browse files Browse the repository at this point in the history
  • Loading branch information
leeseojune53 authored Jan 13, 2023
2 parents d429e80 + 0794f2b commit f827308
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,25 @@
import io.github.depromeet.knockknockbackend.domain.user.domain.vo.UserInfoVO;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
@Table(name = "tbl_relation")
@Entity
public class Relation {

@Id private Long id;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

private boolean isFriend;

Expand Down

0 comments on commit f827308

Please sign in to comment.