memos/api/memo_organizer.go

25 lines
343 B
Go
Raw Normal View History

2022-05-19 13:32:04 +03:00
package api
type MemoOrganizer struct {
// Domain specific fields
MemoID int
UserID int
Pinned bool
}
2022-12-28 15:22:52 +03:00
type MemoOrganizerUpsert struct {
MemoID int `json:"-"`
UserID int `json:"-"`
Pinned bool `json:"pinned"`
2022-05-19 13:32:04 +03:00
}
2022-12-28 15:22:52 +03:00
type MemoOrganizerFind struct {
2022-05-19 13:32:04 +03:00
MemoID int
UserID int
}
2022-11-06 07:21:58 +03:00
type MemoOrganizerDelete struct {
MemoID *int
UserID *int
}