Skip to content

Commit

Permalink
Merge pull request #386 from sopt-makers/develop
Browse files Browse the repository at this point in the history
hotfix: playground와 엔티티 싱크 맞추기
  • Loading branch information
hoonyworld authored Sep 17, 2024
2 parents 25a3e52 + 5d869a2 commit 4fbf37a
Showing 1 changed file with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,34 @@
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Immutable;

@Entity
@Table(name = "member_block")
@Getter
@Immutable
@NoArgsConstructor(access = AccessLevel.PROTECTED)
public class MemberBlock {

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

@Column(name = "created_at")
private LocalDateTime createdAt;

@Column(name = "updated_at")
private LocalDateTime updatedAt;

@NotNull
@Column(name = "is_blocked")
private Boolean isBlocked = true;

@NotNull
@Column(name = "blocked_member_id")
private Long blockedId;
@Column(name = "blocker_id")
private Long blockerId;
private Long blockedMember;

}
@NotNull
@Column(name = "blocker_id")
private Long blocker;
}

0 comments on commit 4fbf37a

Please sign in to comment.