memos/api/memo_resource.go

25 lines
335 B
Go
Raw Normal View History

2022-09-30 15:20:00 +03:00
package api
type MemoResource struct {
MemoID int
ResourceID int
CreatedTs int64
UpdatedTs int64
}
type MemoResourceUpsert struct {
MemoID int
ResourceID int
UpdatedTs *int64
}
type MemoResourceFind struct {
MemoID *int
ResourceID *int
}
type MemoResourceDelete struct {
2022-11-06 07:21:58 +03:00
MemoID *int
2022-09-30 15:20:00 +03:00
ResourceID *int
}