mirror of
https://github.com/usememos/memos.git
synced 2024-12-21 02:01:55 +03:00
27 lines
352 B
Go
27 lines
352 B
Go
package api
|
|
|
|
type MemoOrganizer struct {
|
|
ID int
|
|
|
|
// Domain specific fields
|
|
MemoID int
|
|
UserID int
|
|
Pinned bool
|
|
}
|
|
|
|
type MemoOrganizerUpsert struct {
|
|
MemoID int `json:"-"`
|
|
UserID int `json:"-"`
|
|
Pinned bool `json:"pinned"`
|
|
}
|
|
|
|
type MemoOrganizerFind struct {
|
|
MemoID int
|
|
UserID int
|
|
}
|
|
|
|
type MemoOrganizerDelete struct {
|
|
MemoID *int
|
|
UserID *int
|
|
}
|