add model user

This commit is contained in:
namhq1989 2022-12-18 10:56:55 +07:00
parent 7cd5ee674b
commit 32b13fbf86
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ import "go.mongodb.org/mongo-driver/bson/primitive"
type User struct { type User struct {
ID primitive.ObjectID `json:"_id"` ID primitive.ObjectID `json:"_id"`
Name string `json:"name"` Name string `json:"name"`
Type string `json:"type"`
Avatar *FilePhoto `json:"avatar"` Avatar *FilePhoto `json:"avatar"`
} }