feat: add memo_resource model

This commit is contained in:
steven
2022-09-30 20:20:00 +08:00
parent 65f7aa7914
commit cff0e86989
3 changed files with 213 additions and 0 deletions

24
api/memo_resource.go Normal file
View File

@ -0,0 +1,24 @@
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 {
MemoID int
ResourceID *int
}