-
Notifications
You must be signed in to change notification settings - Fork 0
/
tenant.go
29 lines (26 loc) · 1.2 KB
/
tenant.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package hrms
import (
"time"
"go.mongodb.org/mongo-driver/bson/primitive"
)
type Tenant struct {
ID primitive.ObjectID `bson:"_id"`
EID string `bson:"eid"`
Domain string `bson:"domain"`
OrgName string `bson:"org_name"`
AdminEmailId string `bson:"admin_email_id"`
AdminPhoneNumber string `bson:"admin_phone_number"`
AdminName string `bson:"admin_name"`
Department string `bson:"department"`
Designation string `bson:"designation"`
EmailVerified bool `bson:"email_verified"`
Password string `bson:"password"`
Role string `bson:"role"`
ImageURL string `bson:"image_url"`
FirstLoginPending bool `bson:"first_login_pending"`
Status string `bson:"status"`
RefreshToken string `bson:"refresh_token"`
CreatedBy string `bson:"created_by"`
CreatedAt time.Time `bson:"created_at"`
UpdatedAt time.Time `bson:"updated_at"`
}