mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: add parent field to memo
This commit is contained in:
@@ -42,6 +42,9 @@ type Memo struct {
|
||||
Visibility Visibility
|
||||
|
||||
// Composed fields
|
||||
// For those comment memos, the parent ID is the memo ID of the memo being commented.
|
||||
// If the parent ID is nil, then this memo is not a comment.
|
||||
ParentID *int32
|
||||
Pinned bool
|
||||
ResourceIDList []int32
|
||||
RelationList []*MemoRelation
|
||||
|
Reference in New Issue
Block a user