feat: allow closing posts

This commit is contained in:
Tim
2025-08-19 22:18:53 +08:00
parent 38a49f7414
commit 0fa08e2260
8 changed files with 111 additions and 2 deletions

View File

@@ -64,6 +64,9 @@ public class Post {
@Column(nullable = false)
private PostType type = PostType.NORMAL;
@Column(nullable = false)
private boolean closed = false;
@Column
private LocalDateTime pinnedAt;