-
Notifications
You must be signed in to change notification settings - Fork 0
/
employee_professional_info.go
30 lines (27 loc) · 1.4 KB
/
employee_professional_info.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
30
package hrms
import (
"time"
"go.mongodb.org/mongo-driver/bson/primitive"
)
type EmpProfessionalInfo struct {
ID primitive.ObjectID `bson:"_id"`
EmployeeId string `bson:"employee_id"`
EmployeeType string `bson:"employee_type"`
Department string `bson:"department"`
Designation string `bson:"designation"`
Role string `bson:"role"`
EmailId string `bson:"email_id"`
JoiningDate string `bson:"joining_date"`
ReleavingDate string `bson:"releaving_date"`
EmploymentStatus string `bson:"employment_status"`
OfficeLocation string `bson:"office_location"`
WorkLocation string `bson:"work_location"`
WorkAddress Address `bson:"work_address"`
ReportingManagerName string `bson:"reporting_manager"`
ReportingManagerId string `bson:"reporting_manager_id"`
ReportingManagerEmail string `bson:"reporting_manager_email"`
RegexText string `bson:"regex_text"`
CreatedBy string `bson:"created_by"`
CreatedAt time.Time `bson:"created_at"`
UpdatedAt time.Time `bson:"updated_at"`
}