-
Notifications
You must be signed in to change notification settings - Fork 0
/
organization.go
29 lines (26 loc) · 1.16 KB
/
organization.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 Organization struct {
ID primitive.ObjectID `bson:"_id"`
Domain string `bson:"domain"`
Name string `bson:"name"`
AdminEmailId string `bson:"admin_email_id"`
AdminPhoneNumber string `bson:"admin_phone_number"`
AdminName string `bson:"admin_name"`
OrgEmailId string `bson:"org_email_id"`
OrgPhoneNumber string `bson:"org_phone_number"`
Status string `bson:"status"`
Logo string `bson:"logo"`
Address string `bson:"address"`
ZipCode string `bson:"zip_code"`
CountryCode string `bson:"country_code"`
Description string `bson:"description"`
SocialAccounts []string `bson:"social_accounts"`
Website string `bson:"website"`
CreatedBy string `bson:"created_by"`
CreatedAt time.Time `bson:"created_at"`
UpdatedAt time.Time `bson:"updated_at"`
}