memos/api/memo_organizer.go

22 lines
265 B
Go
Raw Normal View History

2022-05-19 13:32:04 +03:00
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"`
}