docxTemplater/dal/model/user.go

19 lines
493 B
Go
Raw Normal View History

2022-07-28 15:00:43 +00:00
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"`
2022-07-28 15:00:43 +00:00
}