chore: update memo relation types (#1658)

This commit is contained in:
boojack
2023-05-14 23:17:05 +08:00
committed by GitHub
parent 7726ed4245
commit 2cc5691efd
8 changed files with 79 additions and 63 deletions

View File

@ -8,12 +8,12 @@ const (
)
type MemoRelation struct {
MemoID int
RelatedMemoID int
Type MemoRelationType
MemoID int `json:"memoId"`
RelatedMemoID int `json:"relatedMemoId"`
Type MemoRelationType `json:"type"`
}
type MemoRelationUpsert struct {
RelatedMemoID int
Type MemoRelationType
RelatedMemoID int `json:"relatedMemoId"`
Type MemoRelationType `json:"type"`
}