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