docxTemplater/dal/model/user.go
Danil Solovyov a39e9acbfa Tasks:
- OAuth Yandex API (#2vc89e8)
- OAuth Google API (#2vc8cqc)
- MAIN - работа с дисками (#2wmf8jf)
-
2022-09-15 18:53:55 +05:00

19 lines
493 B
Go

package model
import (
"time"
)
type User struct {
ID string `bson:"_id,omitempty"`
FullName string `bson:"full_name"`
Email string `bson:"email"`
Password string `bson:"password"`
IsActivated bool `bson:"is_activated"`
RoleID int `bson:"role_id"`
JwtToken string `bson:"jwt_token"` // not in use
IsDeleted bool `bson:"is_deleted"`
CreatedAt time.Time `bson:"created_at"`
UpdatedAt time.Time `bson:"updated_at"`
}