Use AnimeID type

This commit is contained in:
2019-06-07 10:50:38 +09:00
parent a3f04fbd2f
commit 18a7be18d2
12 changed files with 41 additions and 35 deletions

View File

@ -18,7 +18,7 @@ func init() {
// AnimeRelation ...
type AnimeRelation struct {
AnimeID string `json:"animeId" editable:"true"`
AnimeID AnimeID `json:"animeId" editable:"true"`
Type string `json:"type" editable:"true" datalist:"anime-relation-types"`
}