Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix: playground와 엔티티 싱크 맞추기 #386

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}
Loading