memos/api/memo_organizer.go

27 lines
328 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"`
}
2022-11-06 07:21:58 +03:00
type MemoOrganizerDelete struct {
MemoID *int
UserID *int
}