feat: create memo with resourceIdList

This commit is contained in:
steven
2022-10-01 10:57:14 +08:00
parent 9f8c0ce567
commit ae8f292306
6 changed files with 31 additions and 14 deletions

View File

@ -50,6 +50,9 @@ type MemoCreate struct {
// Domain specific fields
Visibility Visibility `json:"visibility"`
Content string `json:"content"`
// Related fields
ResourceIDList []int `json:"resourceIdList"`
}
type MemoPatch struct {