Documentation ¶
Index ¶
- Constants
- func GetAllJobAppStatus() []string
- func GetAllJobStatus() []string
- func GetAllRoles() []string
- func GetDailyAttendanceObjectCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetDepAttendanceConfCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetDepDesignationCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetDocumentCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetEmpAttendanceCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetEmpAttendanceConfCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetEmpAttendanceRegularizationCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetEmpCertAndTrainingCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetEmpDocumentCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetEmpLeaveStatsCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetEmpLeavesCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetEmpPersonalCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetEmpProfessionalCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetEmpQualificationCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetEmpRewardCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetEmpSummaryCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetJobMgrAllocationTableCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetJobMgrApplicationCounterCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetJobMgrApplicationsCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetJobMgrCalculatedStatsCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetJobMgrCandidateCounterCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetJobMgrCandidatesCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetJobMgrDailyStatsCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetJobMgrErrorRecordsCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetJobMgrJobCounterCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetJobMgrJobsCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgAssignAssetCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgAttendanceConfCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgAuthCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgClientCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgDepartmentCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgDocumentCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgEmployeeTypeCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgHolidayCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgHolidaysCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgInventoryBucketCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgInventoryCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgInventoryDepartmentCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgInventoryStoreCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgLeaveConfCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgMarqueCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgOfferLettersCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgPermissionsCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgPolicyCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgPolicyStatsCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgPostCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgRolesCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgSalaryComponentsCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgSalaryGroupsCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetOrgSalaryStructuresCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetTicketTicketConfigCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetTicketTicketCounterCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetTicketTicketsCollection(client *mongo.Client, domain string) *mongo.Collection
- func GetWorkerDomainCollection(client *mongo.Client, domain string) *mongo.Collection
- type Address
- type AllocationEntry
- type ApplicationIdCounter
- type AssignAsset
- type CalculatedStats
- type CandidateIdCounter
- type CandidateInfo
- type Certificate
- type Client
- type Comment
- type DailyAttendanceObject
- type DailyCheckInStat
- type DepAttendanceConf
- type Department
- type Designation
- type EmpAttendanceConf
- type EmpAttendanceRegularization
- type EmpCertificateAndTrainingInfo
- type EmpDocumentInfo
- type EmpPersonalInfo
- type EmpProfessionalInfo
- type EmpQualificationInfo
- type EmployeeAttendance
- type EmployeeInfo
- type EmployeeLeave
- type EmployeeLeaveObj
- type EmployeeLeaveStats
- type EmployeeSummary
- type EmployeeTeamInfo
- type EmployeeType
- type FamilyInfo
- type Greeting
- type Holiday
- type Inventory
- type InventoryDepartment
- type InventoryStore
- type JobAppStatus
- type JobAppStatusIdx
- type JobApplication
- type JobApplicationEntry
- type JobApplicationErrorRecord
- type JobEntry
- type JobIdCounter
- type JobStats
- type JobStatus
- type Leave
- type LeaveStats
- type Marque
- type OfferLetter
- type OrgAttendanceConf
- type OrgHoliday
- type OrgLeaveConf
- type OrgSalaryComponent
- type OrgSalaryComponentGroup
- type OrgSalaryStructure
- type Organization
- type Policy
- type PolicyViewStats
- type Post
- type Query
- type RecruiterDailyStats
- type RecruiterInfo
- type RecruiterStatsResponse
- type RewardInfo
- type Role
- type StatusCount
- type StoreBucket
- type Tenant
- type TenantDomain
- type Ticket
- type TicketConfig
- type TimeLineInfo
- type Training
Constants ¶
View Source
const DEPARTMENT_COLLECTION_ATTENDANCE_CONF = "department-attendance-conf"
View Source
const DEPARTMENT_COLLECTION_DESIGNATIONS = "department-designations"
View Source
const EMPLOYEE_COLLECTION_ATTENDANCE = "employee-attendance"
View Source
const EMPLOYEE_COLLECTION_ATTENDANCE_CONF = "employee-attendance-conf"
View Source
const EMPLOYEE_COLLECTION_ATTENDANCE_REGULARIZATION = "employee-attendance-regularization"
View Source
const EMPLOYEE_COLLECTION_CERTIFICATE_AND_TRAINING = "employee-cert-and-training"
View Source
const EMPLOYEE_COLLECTION_DAILY_ATN_OBJECT = "employee-daily-atn-object"
View Source
const EMPLOYEE_COLLECTION_DOCUMENTS = "employee-documents"
View Source
const EMPLOYEE_COLLECTION_LEAVES = "employee-leaves"
View Source
const EMPLOYEE_COLLECTION_LEAVE_STATS = "employee-leave-stats"
View Source
const EMPLOYEE_COLLECTION_PERSONAL = "employee-personal"
View Source
const EMPLOYEE_COLLECTION_PROFESSIONAL = "employee-professional"
View Source
const EMPLOYEE_COLLECTION_QUALIFICATION = "employee-qualification"
View Source
const EMPLOYEE_COLLECTION_REWARD = "employee-rewards"
View Source
const EMPLOYEE_COLLECTION_SUMMARY = "employee-summary"
View Source
const JOBMGR_COLLECTION_ALLOCATION_TABLE = "jobmgr-allocation-table"
View Source
const JOBMGR_COLLECTION_APPLICATIONS = "jobmgr-applications"
View Source
const JOBMGR_COLLECTION_APPLICATION_COUNTER = "jobmgr-application-counter"
View Source
const JOBMGR_COLLECTION_CALCULATED_STATS = "jobmgr-calculated-stats"
View Source
const JOBMGR_COLLECTION_CANDIDATES = "jobmgr-candidates"
View Source
const JOBMGR_COLLECTION_CANDIDATE_COUNTER = "jobmgr-candidate-counter"
View Source
const JOBMGR_COLLECTION_DAILY_STATS = "jobmgr-daily-stats"
View Source
const JOBMGR_COLLECTION_ERROR_RECORDS = "jobmgr-error-records"
View Source
const JOBMGR_COLLECTION_JOBS = "jobmgr-jobs"
View Source
const JOBMGR_COLLECTION_JOB_COUNTER = "jobmgr-job-counter"
View Source
const ORG_COLLECTION_ASSIGN_ASSET = "org-assign-asset"
View Source
const ORG_COLLECTION_ATTENDANCE_CONF = "org-attendance-conf"
View Source
const ORG_COLLECTION_AUTH = "auth"
View Source
const ORG_COLLECTION_CLIENT = "org-client"
View Source
const ORG_COLLECTION_DEPARTMENTS = "org-departments"
View Source
const ORG_COLLECTION_DOCUMENTS = "org-documents"
View Source
const ORG_COLLECTION_EMPLOYEE_TYPE = "org-employee-types"
View Source
const ORG_COLLECTION_HOLIDAYS = "org-holidays"
View Source
const ORG_COLLECTION_INVENTORY = "org-inventory"
View Source
const ORG_COLLECTION_INVENTORY_BUCKET = "org-inventory-bucket"
View Source
const ORG_COLLECTION_INVENTORY_DEPARTMENT = "org-inventory-department"
View Source
const ORG_COLLECTION_INVENTORY_STORE = "org-inventory-store"
View Source
const ORG_COLLECTION_LEAVES_CONF = "org-leaves-conf"
View Source
const ORG_COLLECTION_MARQUE = "org-marque"
View Source
const ORG_COLLECTION_OFFER_LETTERS = "org-offer-letters"
View Source
const ORG_COLLECTION_ORGANIZATION = "organization"
View Source
const ORG_COLLECTION_PERMISSIONS = "org-permissions"
View Source
const ORG_COLLECTION_POLICY = "org-policy"
View Source
const ORG_COLLECTION_POLICY_STATS = "org-policy-stats"
View Source
const ORG_COLLECTION_POST = "org-post"
View Source
const ORG_COLLECTION_ROLES = "org-roles"
View Source
const ORG_COLLECTION_SALARY_COMPONENTS = "org-salary_components"
View Source
const ORG_COLLECTION_SALARY_GROUPS = "org-salary_groups"
View Source
const ORG_COLLECTION_SALARY_STRUCTURES = "org-salary_structures"
View Source
const TICKET_COLLECTION_TICKETS = "ticket-tickets"
View Source
const TICKET_COLLECTION_TICKET_CONFIGS = "ticket-ticket-configs"
View Source
const TICKET_COLLECTION_TICKET_COUNTER = "ticket-ticket-counter"
View Source
const WORKER_COLLECTION_DOMAINS = "worker-domains"
Variables ¶
This section is empty.
Functions ¶
func GetAllJobAppStatus ¶
func GetAllJobAppStatus() []string
func GetAllJobStatus ¶
func GetAllJobStatus() []string
func GetAllRoles ¶
func GetAllRoles() []string
func GetDailyAttendanceObjectCollection ¶
func GetDailyAttendanceObjectCollection(client *mongo.Client, domain string) *mongo.Collection
func GetDepAttendanceConfCollection ¶
func GetDepAttendanceConfCollection(client *mongo.Client, domain string) *mongo.Collection
func GetDepDesignationCollection ¶
func GetDepDesignationCollection(client *mongo.Client, domain string) *mongo.Collection
func GetDocumentCollection ¶
func GetDocumentCollection(client *mongo.Client, domain string) *mongo.Collection
func GetEmpAttendanceCollection ¶
func GetEmpAttendanceCollection(client *mongo.Client, domain string) *mongo.Collection
func GetEmpAttendanceConfCollection ¶
func GetEmpAttendanceConfCollection(client *mongo.Client, domain string) *mongo.Collection
func GetEmpAttendanceRegularizationCollection ¶
func GetEmpAttendanceRegularizationCollection(client *mongo.Client, domain string) *mongo.Collection
func GetEmpCertAndTrainingCollection ¶
func GetEmpCertAndTrainingCollection(client *mongo.Client, domain string) *mongo.Collection
func GetEmpDocumentCollection ¶
func GetEmpDocumentCollection(client *mongo.Client, domain string) *mongo.Collection
func GetEmpLeaveStatsCollection ¶
func GetEmpLeaveStatsCollection(client *mongo.Client, domain string) *mongo.Collection
func GetEmpLeavesCollection ¶
func GetEmpLeavesCollection(client *mongo.Client, domain string) *mongo.Collection
func GetEmpPersonalCollection ¶
func GetEmpPersonalCollection(client *mongo.Client, domain string) *mongo.Collection
func GetEmpProfessionalCollection ¶
func GetEmpProfessionalCollection(client *mongo.Client, domain string) *mongo.Collection
func GetEmpQualificationCollection ¶
func GetEmpQualificationCollection(client *mongo.Client, domain string) *mongo.Collection
func GetEmpRewardCollection ¶
func GetEmpRewardCollection(client *mongo.Client, domain string) *mongo.Collection
func GetEmpSummaryCollection ¶
func GetEmpSummaryCollection(client *mongo.Client, domain string) *mongo.Collection
func GetJobMgrAllocationTableCollection ¶
func GetJobMgrAllocationTableCollection(client *mongo.Client, domain string) *mongo.Collection
func GetJobMgrApplicationCounterCollection ¶
func GetJobMgrApplicationCounterCollection(client *mongo.Client, domain string) *mongo.Collection
func GetJobMgrApplicationsCollection ¶
func GetJobMgrApplicationsCollection(client *mongo.Client, domain string) *mongo.Collection
func GetJobMgrCalculatedStatsCollection ¶
func GetJobMgrCalculatedStatsCollection(client *mongo.Client, domain string) *mongo.Collection
func GetJobMgrCandidateCounterCollection ¶
func GetJobMgrCandidateCounterCollection(client *mongo.Client, domain string) *mongo.Collection
func GetJobMgrCandidatesCollection ¶
func GetJobMgrCandidatesCollection(client *mongo.Client, domain string) *mongo.Collection
func GetJobMgrDailyStatsCollection ¶
func GetJobMgrDailyStatsCollection(client *mongo.Client, domain string) *mongo.Collection
func GetJobMgrErrorRecordsCollection ¶
func GetJobMgrErrorRecordsCollection(client *mongo.Client, domain string) *mongo.Collection
func GetJobMgrJobCounterCollection ¶
func GetJobMgrJobCounterCollection(client *mongo.Client, domain string) *mongo.Collection
func GetJobMgrJobsCollection ¶
func GetJobMgrJobsCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgAssignAssetCollection ¶
func GetOrgAssignAssetCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgAttendanceConfCollection ¶
func GetOrgAttendanceConfCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgAuthCollection ¶
func GetOrgAuthCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgClientCollection ¶
func GetOrgClientCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgCollection ¶
func GetOrgCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgDepartmentCollection ¶
func GetOrgDepartmentCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgDocumentCollection ¶
func GetOrgDocumentCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgEmployeeTypeCollection ¶
func GetOrgEmployeeTypeCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgHolidayCollection ¶
func GetOrgHolidayCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgHolidaysCollection ¶
func GetOrgHolidaysCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgInventoryBucketCollection ¶
func GetOrgInventoryBucketCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgInventoryCollection ¶
func GetOrgInventoryCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgInventoryDepartmentCollection ¶
func GetOrgInventoryDepartmentCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgInventoryStoreCollection ¶
func GetOrgInventoryStoreCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgLeaveConfCollection ¶
func GetOrgLeaveConfCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgMarqueCollection ¶
func GetOrgMarqueCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgOfferLettersCollection ¶
func GetOrgOfferLettersCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgPermissionsCollection ¶
func GetOrgPermissionsCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgPolicyCollection ¶
func GetOrgPolicyCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgPolicyStatsCollection ¶
func GetOrgPolicyStatsCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgPostCollection ¶
func GetOrgPostCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgRolesCollection ¶
func GetOrgRolesCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgSalaryComponentsCollection ¶
func GetOrgSalaryComponentsCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgSalaryGroupsCollection ¶
func GetOrgSalaryGroupsCollection(client *mongo.Client, domain string) *mongo.Collection
func GetOrgSalaryStructuresCollection ¶
func GetOrgSalaryStructuresCollection(client *mongo.Client, domain string) *mongo.Collection
func GetTicketTicketConfigCollection ¶
func GetTicketTicketConfigCollection(client *mongo.Client, domain string) *mongo.Collection
func GetTicketTicketCounterCollection ¶
func GetTicketTicketCounterCollection(client *mongo.Client, domain string) *mongo.Collection
func GetTicketTicketsCollection ¶
func GetTicketTicketsCollection(client *mongo.Client, domain string) *mongo.Collection
func GetWorkerDomainCollection ¶
func GetWorkerDomainCollection(client *mongo.Client, domain string) *mongo.Collection
Types ¶
type Address ¶
type Address struct { AddressLine1 string `bson:"address_line_1"` AddressLine2 string `bson:"address_line_2"` State string `bson:"state"` City string `bson:"city"` Zipcode string `bson:"zipcode"` Lat float64 `bson:"lat"` Lng float64 `bson:"lng"` GoogleLocationCode string `bson:"google_location_code"` }
type AllocationEntry ¶
type AllocationEntry struct { ID primitive.ObjectID `bson:"_id"` NextIndex int64 `bson:"index"` Recruiters []RecruiterInfo `bson:"recruiters"` }
type ApplicationIdCounter ¶
type AssignAsset ¶
type AssignAsset struct { ID primitive.ObjectID `bson:"_id"` BucketID string `bson:"bucket_id"` StoreID string `bson:"store_id"` BucketName string `bson:"bucket_name"` StoreName string `bson:"store_name"` EID string `bson:"eid"` AssetImages string `bson:"asset_images"` AssetDocs string `bson:"asset_docs"` AssetID string `bson:"asset_id"` AssetName string `bson:"asset_name"` AssetDescription string `bson:"asset_description"` AssetPrice string `bson:"asset_price"` TimeAllocated string `bson:"time_allocated"` DateOfExpiry string `bson:"date_of_expiry"` AssetLocation string `bson:"asset_location"` AssetCategory string `bson:"asset_category"` AssetType string `bson:"asset_type"` AssetCondition string `bson:"asset_condition"` AssetStatus string `bson:"asset_status"` StockConsumed int32 `bson:"stock_consumed"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type CalculatedStats ¶
type CandidateIdCounter ¶
type CandidateInfo ¶
type CandidateInfo struct { ID primitive.ObjectID `bson:"_id"` EID string `bson:"eid"` Domain string `bson:"domain"` OrgName string `bson:"org_name"` EmailId string `bson:"email_id"` PhoneNumber string `bson:"phone_number"` Name string `bson:"name"` Department string `bson:"department"` EmailVerified bool `bson:"email_verified"` Role string `bson:"role"` Status string `bson:"status"` CreatedBy string `bson:"created_by"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type Certificate ¶
type Certificate struct { CertificateNumber string `bson:"certificate_number"` CertificateName string `bson:"certificate_name"` IsCertificateVerified bool `bson:"is_cert_verified"` IssuingOrganization string `bson:"issuing_organization"` IssueDate string `bson:"issue_date"` Expiry string `bson:"expiry"` Description string `bson:"description"` AttachmentURL string `bson:"attachment_url"` }
type DailyAttendanceObject ¶
type DailyCheckInStat ¶
type DepAttendanceConf ¶
type DepAttendanceConf struct { ID primitive.ObjectID `bson:"_id"` DepId string `bson:"dep_id"` Department string `bson:"department"` CaptureCheckInLocation bool `bson:"capture_check_in_location"` EnforceLocationCheckIn bool `bson:"enforce_location_check_in"` EnforceLocationCheckOut bool `bson:"enforce_location_check_out"` RequiredLat float64 `bson:"required_lat"` RequiredLng float64 `bson:"required_lng"` FlexiHoursEnabled bool `bson:"flexi_hours_enabled"` FlexiHourWindowInMin int32 `bson:"flexi_hour_window_in_min"` OrgCheckInTime string `bson:"org_check_in_time"` OrgCheckOutTime string `bson:"org_check_out_time"` CheckinMarginInMin int32 `bson:"check_in_margin_in_min"` WorkingDaysPerWeek float32 `bson:"working_days_per_week"` WeeklyOffDays []string `bson:"weekly_off_days"` DailyWorkingHours float32 `bson:"daily_working_hours"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type Department ¶
type Department struct { ID primitive.ObjectID `bson:"_id"` OrgId string `bson:"org_id"` OrgName string `bson:"org_name"` Name string `bson:"name"` Alias string `bson:"alias"` AdminId string `bson:"admin_id"` AdminName string `bson:"admin_name"` TotalEmployees uint32 `bson:"total_employees"` EmployeeList []EmployeeInfo `bson:"employee_list"` Description string `bson:"description"` IsActive bool `bson:"is_active"` CreatedBy string `bson:"created_by"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type Designation ¶
type Designation struct { ID primitive.ObjectID `bson:"_id"` DepId string `bson:"dep_id"` DepName string `bson:"dep_name"` Title string `bson:"title"` IsActive bool `bson:"is_active"` Description string `bson:"description"` CreatedBy string `bson:"created_by"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type EmpAttendanceConf ¶
type EmpAttendanceConf struct { ID primitive.ObjectID `bson:"_id"` EID string `bson:"eid"` Department string `bson:"department"` ApplyOrgDefaultRules bool `bson:"apply_org_default_rules"` CaptureCheckInLocation bool `bson:"capture_check_in_location"` EnforceLocationCheckIn bool `bson:"enforce_location_check_in"` EnforceLocationCheckOut bool `bson:"enforce_location_check_out"` RequiredLat float64 `bson:"required_lat"` RequiredLng float64 `bson:"required_lng"` FlexiHoursEnabled bool `bson:"flexi_hours_enabled"` FlexiHourWindowInMin int32 `bson:"flexi_hour_window_in_min"` OrgCheckInTime string `bson:"org_check_in_time"` OrgCheckOutTime string `bson:"org_check_out_time"` CheckinMarginInMin int32 `bson:"check_in_margin_in_min"` WorkingDaysPerWeek float32 `bson:"working_days_per_week"` WeeklyOffDays []string `bson:"weekly_off_days"` DailyWorkingHours float32 `bson:"daily_working_hours"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type EmpAttendanceRegularization ¶
type EmpAttendanceRegularization struct { ID primitive.ObjectID `bson:"_id"` EID string `bson:"eid"` Domain string `bson:"domain"` StartDate string `bson:"start_date"` EndDate string `bson:"end_date"` CheckInTime string `bson:"check_in_time"` CheckOutTime string `bson:"check_out_time"` Reason string `bson:"reason"` Status string `bson:"status"` RegularizationCount int `bson:"regularization_count"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type EmpCertificateAndTrainingInfo ¶
type EmpCertificateAndTrainingInfo struct { ID primitive.ObjectID `bson:"_id"` EID string `bson:"eid"` Certificate []Certificate `bson:"certificate"` Training []Training `bson:"training"` }
type EmpDocumentInfo ¶
type EmpDocumentInfo struct { ID primitive.ObjectID `bson:"_id"` EID string `bson:"eid"` Domain string `bson:"domain"` Department string `bson:"department"` DocName string `bson:"doc_name"` DocCategory string `bson:"doc_category"` DocType string `bson:"doc_type"` DocPath string `bson:"doc_path"` IsVerified string `bson:"is_verified"` RegexText string `bson:"regex_text"` CreatedBy string `bson:"created_by"` CreatedAt time.Time `bson:"created_at"` }
type EmpPersonalInfo ¶
type EmpPersonalInfo struct { ID primitive.ObjectID `bson:"_id"` EmployeeId string `bson:"employee_id"` FirstName string `bson:"first_name"` MiddleName string `bson:"middle_name"` LastName string `bson:"last_name"` MotherName string `bson:"mother_name"` FatherName string `bson:"father_name"` Gender string `bson:"gender"` DOB string `bson:"dob"` MaritalStatus string `bson:"marital_status"` SpouseName string `bson:"spouse_name"` Nationality string `bson:"nationality"` BloodGroup string `bson:"blood_group"` PhoneNumber string `bson:"phone_number"` EmergencyNumber string `bson:"emergency_number"` PersonalEmail string `bson:"email_id"` PAN string `bson:"pan"` AadharNumber string `bson:"aadhar_number"` PassportNumber string `bson:"passport_number"` PermanentAddress Address `bson:"permanent_address"` CommunicationAddress Address `bson:"communication_address"` FamilyInfo []FamilyInfo `bson:"family_info"` BothAddressSame bool `bson:"both_address_same"` RegexText string `bson:"regex_text"` CreatedBy string `bson:"created_by"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type EmpProfessionalInfo ¶
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"` JoiningDay int64 `bson:"joining_day"` JoiningMonth int64 `bson:"joining_month"` JoiningYear int64 `bson:"joining_year"` ReleavingDate string `bson:"releaving_date"` EmploymentStatus string `bson:"employment_status"` OfficeLocation string `bson:"office_location"` WorkLocation string `bson:"work_location"` CIBILScore string `bson:"cibil_score"` ClientInfo Client `bson:"client_info"` 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"` }
type EmpQualificationInfo ¶
type EmpQualificationInfo struct { ID primitive.ObjectID `bson:"_id"` EID string `bson:"eid"` SecondarySchoolName string `bson:"secondary_school_name"` SecondarySchoolStartYear string `bson:"secondary_school_start_year"` SecondarySchoolEndYear string `bson:"secondary_school_end_year"` SecondarySchoolBoard string `bson:"secondary_school_board"` SecondarySchoolRollNo string `bson:"secondary_school_rollno"` SecondarySchoolAddress string `bson:"secondary_school_address"` SecondarySchoolAttachmentURL string `bson:"secondary_school_attachment_url"` IsSecondarySchoolCertVerified bool `bson:"is_secondary_school_cert_verified"` HighSchoolName string `bson:"high_school_name"` HighSchoolStartYear string `bson:"high_school_start_year"` HighSchoolEndYear string `bson:"high_school_end_year"` HighSchoolStream string `bson:"high_school_stream"` HighSchoolBoard string `bson:"high_school_board"` HighSchoolRollNo string `bson:"high_school_rollno"` HighSchoolAddress string `bson:"high_school_address"` HighSchoolAttachmentURL string `bson:"high_school_attachment_url"` IsHighSchoolCertVerified bool `bson:"is_high_school_cert_verified"` GraduationInstitute string `bson:"graduation_institute"` GraduationStartYear string `bson:"graduation_start_year"` GraduationEndYear string `bson:"graduation_end_year"` GraduationDegree string `bson:"graduation_degree"` GraduationMajor string `bson:"graduation_major"` GraduationRollNo string `bson:"graduation_rollno"` GraduationInstituteAddress string `bson:"graduation_institute_address"` GraduationAttachmentURL string `bson:"graduation_attachment_url"` IsGraduationCertVerified bool `bson:"is_grad_cert_verified"` PostGradInstitute string `bson:"postgrad_institute"` PostGradStartYear string `bson:"postgrad_start_year"` PostGradEndYear string `bson:"postgrad_end_year"` PostGradDegree string `bson:"postgrad_degree"` PostGradSpecialization string `bson:"postgrad_specialization"` PostGradRollNo string `bson:"postgrad_rollno"` PostGradInstituteAddress string `bson:"postgrad_institute_address"` PostGradAttachmentURL string `bson:"postgrad_attachment_url"` IsPostGradCertVerified bool `bson:"is_postgrad_cert_verified"` DoctorateUniversity string `bson:"doctorate_university"` DoctorateStartYear string `bson:"doctorate_start_year"` DoctorateEndYear string `bson:"doctorate_end_year"` DoctorateDegree string `bson:"doctorate_degree"` DoctorateSpecialization string `bson:"doctorate_specialization"` DoctorateRollNo string `bson:"doctorate_rollno"` DoctorateUniversityAddress string `bson:"doctorate_university_Address"` DoctorateAttachmentURL string `bson:"doctorate_attachment_url"` IsDoctorateCertVerified bool `bson:"is_doctorate_cert_verified"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type EmployeeAttendance ¶
type EmployeeAttendance struct { ID primitive.ObjectID `bson:"_id"` EID string `bson:"eid"` Domain string `bson:"domain"` Department string `bson:"department"` Day string `bson:"day"` Month string `bson:"month"` Year string `bson:"year"` CaptureCheckInLocation bool `bson:"capture_check_in_location"` EnforceLocationCheckIn bool `bson:"enforce_location_check_in"` EnforceLocationCheckOut bool `bson:"enforce_location_check_out"` RequiredLat float64 `bson:"required_lat"` RequiredLng float64 `bson:"required_lng"` CheckInLat float64 `bson:"check_in_lat"` CheckInLng float64 `bson:"check_in_lng"` CheckOutLat float64 `bson:"check_out_lat"` CheckOutLng float64 `bson:"check_out_lng"` FlexiHoursEnabled bool `bson:"flexi_hours_enabled"` FlexiHourWindowInMin int32 `bson:"flexi_hour_window_in_min"` OrgCheckInTime string `bson:"org_check_in_time"` OrgCheckOutTime string `bson:"org_check_out_time"` CheckinMarginInMin int32 `bson:"check_in_margin_in_min"` IsCheckedIn bool `bson:"is_checked_in"` CheckInTime string `bson:"check_in_time"` IsCheckedOut bool `bson:"is_checked_out"` CheckOutTime string `bson:"check_in_out"` WorkingHours float32 `bson:"working_hours"` IsDelayedCheckIn bool `bson:"is_delayed_check_in"` IsEarlyCheckOut bool `bson:"is_early_check_out"` IsOnLeave bool `bson:"is_on_leave"` IsWorkingDay bool `bson:"is_working_day"` IsHoliday bool `bson:"is_holiday"` IsWeeklyOffDay bool `bson:"is_weekly_off_day"` IsFullDayLWP bool `bson:"is_full_day_lwp"` IsHalfDayLWP bool `bson:"is_half_day_lwp"` SentCheckInMail bool `bson:"sent_check_in_mail"` SentCheckOutMail bool `bson:"sent_check_out_mail"` OrgCheckInTimeInTicks int64 `bson:"org_check_in_time_in_ticks"` OrgCheckOutTimeInTicks int64 `bson:"org_check_out_time_in_ticks"` DailyCheckInStats []DailyCheckInStat `bson:"daily_checkin_stats"` IsLocked bool `bson:"is_locked"` IsExpired bool `bson:"is_expired"` Remarks string `bson:"remarks"` }
type EmployeeInfo ¶
type EmployeeLeave ¶
type EmployeeLeave struct { ID primitive.ObjectID `bson:"_id"` EmployeeId string `bson:"employee_id"` FullName string `bson:"full_name"` PhoneNumber string `bson:"phone_number"` EmailId string `bson:"email_id"` CasualLeave string `bson:"casual_leave"` SickLeave string `bson:"sick_leave"` EarnedLeave string `bson:"earned_leave"` }
type EmployeeLeaveObj ¶
type EmployeeLeaveObj struct { ID primitive.ObjectID `bson:"_id"` EmployeeId string `bson:"employee_id"` FullName string `bson:"full_name"` EmailId string `bson:"email_id"` LeaveType string `bson:"leave_type"` LeaveStatus string `bson:"leave_status"` ISBulkLeave bool `bson:"is_bulk_leave"` RequiredNoticeDays float32 `bson:"required_notice_days"` ActualNoticeDays float32 `bson:"actual_notice_days"` LeaveStartDate string `bson:"leave_start_date"` LeaveEndDate string `bson:"leave_end_date"` LeaveDuration string `bson:"leave_duration"` AmountOfLeaves string `bson:"amount_of_leaves"` IncludeNonWorkingDays bool `bson:"include_non_working_days"` TotalAppliedLeaves float32 `bson:"total_applied_leaves"` TotalOutOfOfficeDays float32 `bson:"total_out_of_office_days"` IncludeWithoutPayLeave bool `bson:"include_without_pay_leave"` TotalWithouPayLeaves float32 `bson:"total_without_pay_leaves"` PrimaryApproverId string `bson:"primary_approver_id"` PrimaryApproverName string `bson:"primary_approver_name"` PrimaryApproverDesignation string `bson:"primary_approver_designation"` IsApprovedByPrimary bool `son:"is_approved_by_primary"` SecondaryApproverId string `bson:"secondary_approver_id"` SecondaryApproverName string `bson:"secondary_approver_name"` SecondaryApproverDesignation string `bson:"secondary_approver_designation"` NeedBothApproval bool `bson:"need_both_approval"` LeveApplicationDate string `bson:"leave_application_date"` PrimaryLeaveApprovalDate string `bson:"primary_leave_approval_date"` SecondaryLeaveApprovalDate string `bson:"secondary_leave_approval_date"` RejectionDate string `bson:"rejection_date"` IncludeWithdrawalLeaves bool `bson:"include_withdrawal_leaves"` TotalApprovedLeaves float32 `bson:"total_approved_leaves"` Leaves []Leave `bson:"leave"` Remarks string `bson:"remarks"` DocURL string `bson:"doc_url"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type EmployeeLeaveStats ¶
type EmployeeLeaveStats struct { ID primitive.ObjectID `bson:"_id"` EmployeeId string `bson:"employee_id"` FullName string `bson:"full_name"` PhoneNumber string `bson:"phone_number"` IsMale bool `bson:"is_male"` IsMarried bool `bson:"is_married"` EmailId string `bson:"email_id"` EmpJoiningDate string `bson:"emp_joining_date"` TenureInDays int64 `bson:"tenure_in_days"` TotalWorkingDays int64 `bson:"total_working_days"` TotalAbsentDays int64 `bson:"total_absent_days"` TotalPresentDays int64 `bson:"total_present_days"` AttendanceStatsUpdatedOn string `bson:"attendance_stats_updated_on"` Year string `bson:"year"` LeavesStats []LeaveStats `bson:"leaves_stats"` }
type EmployeeSummary ¶
type EmployeeSummary struct { ID primitive.ObjectID `bson:"_id"` EmployeeId string `bson:"employee_id"` FullName string `bson:"full_name"` DOB string `bson:"dob"` PhoneNumber string `bson:"phone_number"` EmailId string `bson:"email_id"` EmployeeType string `bson:"employee_type"` Department string `bson:"department"` Designation string `bson:"designation"` Role string `bson:"role"` JoiningDate string `bson:"joining_date"` JoiningDay int64 `bson:"joining_day"` JoiningMonth int64 `bson:"joining_month"` JoiningYear int64 `bson:"joining_year"` EmploymentStatus string `bson:"employment_status"` OfficeLocation string `bson:"office_location"` WorkLocation string `bson:"work_location"` ReportingManagerName string `bson:"reporting_manager"` ReportingManagerId string `bson:"reporting_manager_id"` ReportingManagerEmail string `bson:"reporting_manager_email"` NewJoineeRewardId string `bson:"new_joinee_reward_id"` ImgURL string `bson:"img_url"` IsProfileEditingLocked bool `bson:"is_profile_editing_locked"` RegexText string `bson:"regex_text"` CreatedBy string `bson:"created_by"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type EmployeeTeamInfo ¶
type EmployeeTeamInfo struct { ID primitive.ObjectID `bson:"_id"` EmployeeId string `bson:"employee_id"` FullName string `bson:"full_name"` EmailId string `bson:"email_id"` PhoneNumber string `bson:"phone_number"` Status string `bson:"status"` EmployeeType string `bson:"employee_type"` Department string `bson:"department"` Designation string `bson:"designation"` Role string `bson:"role"` ImgURL string `bson:"img_url"` }
type EmployeeType ¶
type EmployeeType struct { ID primitive.ObjectID `bson:"_id"` OrgId string `bson:"org_id"` OrgName string `bson:"org_name"` DepId string `bson:"dep_id"` DepName string `bson:"dep_name"` Title string `bson:"title"` IsActive bool `bson:"is_active"` Description string `bson:"description"` CreatedBy string `bson:"created_by"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type FamilyInfo ¶
type Inventory ¶
type Inventory struct { ID primitive.ObjectID `bson:"_id"` StoreID string `bson:"store_id"` BucketID string `bson:"bucket_id"` DepartmentID string `bson:"department_id"` ProductCode string `bson:"product_code"` ProductName string `bson:"product_name"` ProductDescription string `bson:"product_description"` ProductOwnership string `bson:"product_ownership"` ProductCategory string `bson:"product_category"` AddedDate time.Time `bson:"added_date"` Price int32 `bson:"price"` CurrentStock int32 `bson:"current_stock"` MinimumStock int32 `bson:"minimum_stock"` MaximumStock int32 `bson:"maximum_stock"` ProductImages []string `bson:"product_images"` Invoices []string `bson:"invoices"` ProviderID string `bson:"provider_id"` ProviderName string `bson:"provider_name"` ProviderEmail string `bson:"provider_email"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` CreatedBy string `bson:"created_by"` DepartmentName string `bson:"department_name"` IsActive bool `bson:"is_active"` IsConsumeable bool `bson:"is_consumeable"` ShelfLifeInDays int32 `bson:"shelf_life_in_days"` ExpiryDate string `bson:"expiry_date"` Type string `bson:"type"` Remarks string `bson:"remarks"` }
type InventoryDepartment ¶
type InventoryDepartment struct { ID primitive.ObjectID `bson:"_id"` Name string `bson:"name"` Organisation string `bson:"organisation"` OrgId string `bson:"org_id"` IsActive bool `bson:"is_active"` AdminId string `bson:"admin_id"` AdminName string `bson:"admin_name"` Description string `bson:"description"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type InventoryStore ¶
type InventoryStore struct { ID primitive.ObjectID `bson:"_id"` DepartmentID string `bson:"department_id"` Department string `bson:"department"` Team string `bson:"team"` Project string `bson:"project"` Name string `bson:"name"` Type string `bson:"type"` Location string `bson:"location"` CreatedAt time.Time `bson:"created_at"` Status string `bson:"status"` IsActive bool `bson:"is_active"` OpenTime string `bson:"open_time"` ClosingTime string `bson:"closing_time"` Buckets int32 `bson:"buckets"` UpdatedAt time.Time `bson:"updated_at"` }
type JobAppStatus ¶
type JobAppStatus int
const ( Pipeline JobAppStatus = iota + 1 InternalSelect InternalReject ClientR1Scheduled ClientR2Scheduled InternalScheduled Dropout Dropped DropoutSelect ClientR1Reject ClientR1Select ClientR2Select ClientR2Reject PositionClosed Joined NotJoined Duplicate OnHold Sourced InterviewSelect Viewed Offered Naukri Callback )
func JobAppStatusEnumFromString ¶
func JobAppStatusEnumFromString(s string) JobAppStatus
func (JobAppStatus) EnumIndex ¶
func (a JobAppStatus) EnumIndex() int
func (JobAppStatus) String ¶
func (a JobAppStatus) String() string
type JobAppStatusIdx ¶
func GetJobAppStatusNewIndex ¶
func GetJobAppStatusNewIndex() []JobAppStatusIdx
type JobApplication ¶
type JobApplication struct { ID primitive.ObjectID `bson:"_id"` JobTitle string `bson:"job_title"` JobId string `bson:"job_id"` EmploymentType string `bson:"employment_type"` JobDomain string `bson:"job_domain"` Technology string `bson:"technology"` Designation string `bson:"designation"` Location string `bson:"location"` ExperinceInYears int64 `bson:"experince_in_years"` ExperinceRange string `bson:"experince_range"` NumberOfOpenings int64 `bson:"number_of_openings"` Description string `bson:"description"` MandatarySkills []string `bson:"mandatory_skills"` NiceToHaveSkills []string `bson:"nice_to_have_skills"` Qualification []string `bson:"qualification"` MaxNoticePeriodInMonths int64 `bson:"max_notice_period_in_months"` StartDate string `bson:"start_date"` EndDate string `bson:"end_date"` CurrentStatus string `bson:"current_status"` Client string `bson:"client"` MetaTags string `bson:"meta_tags"` ApplicationList []string `bson:"application_list"` ManagerId string `bson:"manager_id"` ManagerName string `bson:"manager_nmae"` RecruiterId string `bson:"recruiter_id"` RecruiterName string `bson:"recruiter_name"` MarkedDeleted bool `bson:"marked_deleted"` IsLive bool `bson:"is_live"` JDURL string `bson:"jd_url"` ImageURL string `bson:"image_url"` CreatedAt int64 `bson:"created_at"` UpdatedAt int64 `bson:"updated_at"` }
type JobApplicationEntry ¶
type JobApplicationEntry struct { ID primitive.ObjectID `bson:"_id"` JobTitle string `bson:"job_title"` JobId string `bson:"job_id"` ManagerId string `bson:"manager_id"` ManagerName string `bson:"manager_name"` RecruiterId string `bson:"recruiter_id"` RecruiterName string `bson:"recruiter_name"` ApplicationId string `bson:"application_id"` EmailId string `bson:"email_id"` PhoneNumber string `bson:"phone_number"` Name string `bson:"name"` ExperinceInYears float64 `bson:"experince_in_years"` NoticePeriodInDays int64 `bson:"notice_period_in_days"` CurrentCompany string `bson:"current_company"` CurrentCTC float64 `bson:"current_ctc"` ExpectedCTC float64 `bson:"expected_ctc"` CurrentWorkLocation string `bson:"current_work_location"` ReadyToRelocate bool `bson:"ready_to_relocate"` LastWorkingDay string `bson:"last_working_day"` JoiningInWeeks int64 `bson:"joining_in_weeks"` CurrentlyServingNotice bool `bson:"currently_serving_notice"` OfferInHand bool `bson:"offer_in_hand"` OfferedCTC float64 `bson:"offered_ctc"` ResumeURL string `bson:"resume_url"` IsViewed bool `bson:"is_viewed"` Remarks string `bson:"remarks"` TimeLine []TimeLineInfo `bson:"time_line"` ApplicationDate string `bson:"application_date"` Status JobAppStatus `bson:"status"` IsContacted bool `bson:"is_contacted"` IsVerified bool `bson:"is_verified"` RegexText string `bson:"regex_text"` Source string `bson:"source"` UpdatedAt int64 `bson:"updated_at"` }
type JobEntry ¶
type JobEntry struct { ID primitive.ObjectID `bson:"_id"` Title string `bson:"title"` JobId string `bson:"job_id"` EmploymentType string `bson:"employment_type"` JobDomain string `bson:"job_domain"` Technology string `bson:"technology"` Designation string `bson:"designation"` Locations []string `bson:"locations"` ExperinceInYears int64 `bson:"experince_in_years"` ExperinceRange string `bson:"experince_range"` NumberOfOpenings int64 `bson:"number_of_openings"` Description string `bson:"description"` MandatarySkills []string `bson:"mandatory_skills"` NiceToHaveSkills []string `bson:"nice_to_have_skills"` Qualification []string `bson:"qualification"` MaxNoticePeriodInMonths int64 `bson:"max_notice_period_in_months"` BudgetRange string `bson:"budget_range"` BudgetInINR int64 `bson:"budget_in_inr"` StartDate string `bson:"start_date"` EndDate string `bson:"end_date"` Status JobStatus `bson:"status"` Client string `bson:"client"` MetaTags string `bson:"meta_tags"` JobAnalytics []JobStats `bson:"job_analytics"` ManagerId string `bson:"manager_id"` ManagerName string `bson:"manager_name"` RecruiterId string `bson:"recruiter_id"` RecruiterName string `bson:"recruiter_name"` MarkedDeleted bool `bson:"marked_deleted"` IsLive bool `bson:"is_live"` JDURL string `bson:"jd_url"` ImageURL string `bson:"image_url"` Remarks string `bson:"remarks"` CreatedAt int64 `bson:"created_at"` UpdatedAt int64 `bson:"updated_at"` }
type JobIdCounter ¶
type Leave ¶
type Leave struct { Day string `bson:"day"` Month string `bson:"month"` Year string `bson:"year"` LeaveType string `bson:"leave_type"` LeaveStatus string `bson:"leave_status"` LeaveDuration string `bson:"leave_duration"` IsWithoutPayLeave bool `bson:"is_without_pay_leave"` LeaveWithdrawalDate string `bson:"leave_withdrawal_date"` LeaveApprovalDate string `bson:"leave_approval_date"` Remarks string `bson:"remarks"` }
type LeaveStats ¶
type LeaveStats struct { IsActive bool `bson:"is_active"` LeaveType string `bson:"leave_type"` Year string `bson:"year"` CarryForwardLeaves float32 `bson:"carry_forward_leaves"` EarnedLeavesThisYear float32 `bson:"earned_leaves_this_year"` TotalLeaves float32 `bson:"total_leaves"` AvailableLeaves float32 `bson:"available_leaves"` ConsumedLeaves float32 `bson:"consumed_leaves"` AppliedLeaves float32 `bson:"applied_leaves"` ApplicableAfterWorkingDays int32 `bson:"applicable_after_working_days"` ActivationDate string `bson:"activation_date"` BulkLeaveNoticeInDays int `bson:"bulk_leave_notice_in_days"` }
type OfferLetter ¶
type OfferLetter struct { ID primitive.ObjectID `bson:"_id"` OrgName string `bson:"org_name"` Department string `bson:"department"` OfferLetterDate string `bson:"offer_letter_date"` OfferExpiryDate string `bson:"offer_expiry_date"` OfferedJoiningDate string `bson:"offered_joining_date"` DocumentNumber string `bson:"document_number"` CandidateId string `bson:"candidate_id"` CandidateName string `bson:"candidate_name"` CandidateEmail string `bson:"candidate_email"` CandidatePhone string `bson:"candidate_phone"` Designation string `bson:"designation"` CTC float64 `bson:"ctc"` CTCInWords string `bson:"ctc_in_words"` CTCUnits string `bson:"ctc_units"` IsWorkFromHome bool `bson:"is_work_from_home"` WorkLocation string `bson:"work_location"` WorkAddress string `bson:"work_address"` IncludeBonus bool `bson:"include_bonus"` BonusAmount float64 `bson:"bonus_amount"` BonusTitle string `bson:"bonus_title"` BonusType string `bson:"type"` BonusPaymentCycle string `bson:"bonus_payment_cycle"` IncludeTravelAllowance bool `bson:"include_travel_allowance"` TravelAllowanceAmount float64 `bson:"travel_allowance_amount"` TravelAllowanceTitle string `bson:"travel_allowance_title"` SalaryStructureName string `bson:"salary_structure_name"` OfferTemplateName string `bson:"offer_template_name"` OfferTemplateData map[string]string `bson:"offer_template_data"` CurrentStatus string `bson:"current_status"` AcceptanceDate string `bson:"acceptance_date"` CandidateJoiningDate string `bson:"candidate_joining_date"` CandidateJoinedDate string `bson:"candidate_joined_date"` ReviewerId string `bson:"reviewer_id"` ReviewerName string `bson:"reviewer_name"` IsReviewed bool `bson:"is_reviewed"` ApproverId string `bson:"approver_id"` ApproverName string `bson:"approver_name"` IsApproved bool `bson:"is_approved"` SignatoryId string `bson:"signatory_id"` SignatoryName string `bson:"signatory_name"` SignatoryDesignation string `bson:"signatory_designation"` ReviewedDate string `bson:"reviewed_date"` ReviewRemarks []string `bson:"review_remarks"` RecruiterId string `bson:"recruiter_id"` RecruiterName string `bson:"recruiter_name"` RefererId string `bson:"referer_id"` RefererName string `bson:"referer_name"` ReferalAmount float64 `bson:"referal_amount"` ReferalEligibilityAfterDays int `bson:"referal_eligibility_after_days"` ReferalAmountPaid bool `bson:"referal_amount_paid"` DocumentPublished bool `bson:"document_published"` DocumentPublishedDate bool `bson:"document_published_date"` DocumentLocked bool `bson:"document_locked"` IsRevisedDocument bool `bson:"is_revised_document"` OrignalDocumentNumber string `bson:"orignal_document_number"` DiscardedDocument bool `bson:"discarded_document"` NewRevisedDocumentNumber string `bson:"new_revised_document_number"` DraftDocumentPath string `bson:"draft_document_path"` PublishedDocumentPath string `bson:"published_document_path"` AcceptedDocumentPath string `bson:"accepted_document_path"` }
type OrgAttendanceConf ¶
type OrgAttendanceConf struct { ID primitive.ObjectID `bson:"_id"` OrgId string `bson:"org_id"` OrgName string `bson:"org_name"` CaptureCheckInLocation bool `bson:"capture_check_in_location"` EnforceLocationCheckIn bool `bson:"enforce_location_check_in"` EnforceLocationCheckOut bool `bson:"enforce_location_check_out"` RequiredLat float64 `bson:"required_lat"` RequiredLng float64 `bson:"required_lng"` FlexiHoursEnabled bool `bson:"flexi_hours_enabled"` FlexiHourWindowInMin int32 `bson:"flexi_hour_window_in_min"` OrgCheckInTime string `bson:"org_check_in_time"` OrgCheckOutTime string `bson:"org_check_out_time"` CheckinMarginInMin int32 `bson:"check_in_margin_in_min"` WorkingDaysPerWeek float32 `bson:"working_days_per_week"` WeeklyOffDays []string `bson:"weekly_off_days"` DailyWorkingHours float32 `bson:"daily_working_hours"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type OrgHoliday ¶
type OrgLeaveConf ¶
type OrgLeaveConf struct { ID primitive.ObjectID `bson:"_id"` OrgName string `bson:"org_name"` Title string `bson:"title"` IsFixed bool `bson:"is_fixed"` Frequency string `bson:"frequency"` LeaveCount float32 `bson:"leave_count"` LeaveUnit string `bson:"leave_unit"` MaxLeaveCount float32 `bson:"max_leave_count"` IsCarryForwardAllowed bool `bson:"is_carry_forward_allowed"` MaxCarryForwardCount float32 `bson:"max_carry_forward_count"` BulkLeaveCount int `bson:"bulk_leave_count"` BulkLeaveNoticeInDays int `bson:"bulk_leave_notice_in_days"` IsEncashmentAllowed bool `bson:"encashment_allowed"` ApplicableAfterWorkingDays int `bson:"applicable_after_working_days"` DocumentRequired bool `bson:"document_required"` WeeklyOffAndHolidayIncluded bool `bson:"weekly_off_and_holiday_included"` IsActive bool `bson:"is_active"` Description string `bson:"description"` YearStartDate string `bson:"year_start_date"` YearEndDate string `bson:"year_end_date"` CreatedBy string `bson:"created_by"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type OrgSalaryComponent ¶
type OrgSalaryComponent struct { ID primitive.ObjectID `bson:"_id"` ComponentName string `bson:"component_name"` Abbrivation string `bson:"abbrivation"` Description string `bson:"description"` IsTaxableComponent bool `bson:"is_taxable_component"` IsCreditComponent bool `bson:"is_credit_component"` Formula string `bson:"formula"` Cycle string `bson:"cycle"` //once, monthly, Biannual, Annual IsPaidDayDepandant bool `bson:"is_paid_day_depandant"` AmountBasedOnFormula bool `bson:"amount_based_on_formula"` AbbrivationsUsedInFormula []string `bson:"abbrivations_used_in_formula"` CalculatedAmount float32 `bson:"calculated_amount"` StaticAmount float32 `bson:"static_amount"` FinalAmount float32 `bson:"final_amount"` }
type OrgSalaryComponentGroup ¶
type OrgSalaryComponentGroup struct { ID primitive.ObjectID `bson:"_id"` Name string `bson:"name"` SerialNumber int `bson:"serial_number"` SalaryComponents []OrgSalaryComponent `bson:"salary_components"` Formula string `bson:"formula"` CalculatedAmount float32 `bson:"calculated_amount"` TotalAmount float32 `bson:"total_amount"` }
type OrgSalaryStructure ¶
type OrgSalaryStructure struct { ID primitive.ObjectID `bson:"_id"` OrgName string `bson:"org_name"` Name string `bson:"name"` SalaryComponentGroups []OrgSalaryComponentGroup `bson:"salary_component_groups"` }
type Organization ¶
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"` UseGoogleAuth bool `bson:"use_google_auth"` Website string `bson:"website"` CreatedBy string `bson:"created_by"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type PolicyViewStats ¶
type Post ¶
type Post struct { ID primitive.ObjectID `bson:"_id"` Topic string `bson:"topic"` Content string `bson:"content"` Image string `bson:"image"` ProfileImage string `bson:"profile_image"` Important bool `bson:"important"` PostedBy string `bson:"posted_by"` IsEmpty bool `bson:"is_empty"` Designation string `bson:"designation"` Date string `bson:"date"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type RecruiterDailyStats ¶
type RecruiterDailyStats struct { ID primitive.ObjectID `bson:"_id"` RecruiterId string `bson:"recruiter_id"` Name string `bson:"name"` Day int `bson:"day"` Weekday int `bson:"weekday"` Month int `bson:"month"` Year int `bson:"year"` HH int `bson:"hour"` MM int `bson:"minute"` ApplicationId string `bson:"application_id"` JobId string `bson:"job_id"` StartStatus JobAppStatus `bson:"start_status"` EndStatus JobAppStatus `bson:"end_status"` }
type RecruiterInfo ¶
type RecruiterStatsResponse ¶
type RecruiterStatsResponse struct { ID primitive.ObjectID `bson:"_id"` RecruiterId string `bson:"recruiter_id"` DailyStats []CalculatedStats `bson:"daily_stats"` MonthlyHourlyCount [24]int `bson:"monthly_hourly_count"` DailyHourlyCount [24]int `bson:"daily_hourly_count"` UpdatedAt string `bson:"updated_at"` StatusWiseTotalCount []StatusCount `bson:"status_wise_total_count"` }
type RewardInfo ¶
type RewardInfo struct { ID primitive.ObjectID `bson:"_id"` EmployeeId string `bson:"employee_id"` Type string `bson:"type"` IsActive bool `bson:"is_active"` Status string `bson:"status"` AutoPublish bool `bson:"auto_publish"` AutoUnpublish bool `bson:"auto_unpublish"` PublishDay int64 `bson:"publish_day"` PublishMonth int64 `bson:"publish_month"` PublishYear int64 `bson:"publish_year"` UnpublishDay int64 `bson:"unpublish_day"` UnpublishMonth int64 `bson:"unpublish_month"` UnpublishYear int64 `bson:"unpublish_year"` BadgeURL string `bson:"badge_url"` BadgeInfo string `bson:"badge_info"` ImageURL string `bson:"image_url"` Remarks string `bson:"remarks"` GreetingsCount int64 `bson:"greetings_count"` Greetings []Greeting `bson:"greetings"` CreatedAt string `bson:"created_at"` CreatedBy string `bson:"created_by"` }
type StatusCount ¶
type StoreBucket ¶
type StoreBucket struct { ID primitive.ObjectID `bson:"_id"` StoreID string `bson:"store_id"` DepartmentID string `bson:"department_id"` Department string `bson:"department"` BucketName string `bson:"bucket_name"` StoreName string `bson:"store_name"` Category string `bson:"category"` Description string `bson:"description"` Capacity int32 `bson:"capacity"` NoOfInventory int32 `bson:"no_of_inventory"` Status string `bson:"status"` IsActive bool `bson:"is_active"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type Tenant ¶
type Tenant struct { ID primitive.ObjectID `bson:"_id"` EID string `bson:"eid"` Domain string `bson:"domain"` OrgName string `bson:"org_name"` EmailId string `bson:"email_id"` PhoneNumber string `bson:"phone_number"` Name string `bson:"name"` Department string `bson:"department"` Designation string `bson:"designation"` EmailVerified bool `bson:"email_verified"` UseGoogleOAuth bool `bson:"use_google_oauth"` 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"` }
type TenantDomain ¶
type Ticket ¶
type Ticket struct { ID primitive.ObjectID `bson:"_id"` TicketID string `bson:"ticket_id"` Title string `bson:"title"` QuerySLAInDays int64 `bson:"query_sla_in_days"` QueryRemarks string `bson:"query_remarks"` Description string `bson:"description"` ReporteeId string `bson:"reportee_id"` ReporteeEmailId string `bson:"reportee_emailId"` ReporteeName string `bson:"reportee_name"` ReporteeDepartment string `bson:"reportee_department"` AssigneeDepartment string `bson:"assignee_department"` MasterAssigneeId string `bson:"master_assignee_id"` MasterAssigneeName string `bson:"master_assignee_name"` MasterAssigneeEmail string `bson:"master_assignee_email"` CurrentAssigneeName string `bson:"current_assignee_name"` CurrentAssigneeId string `bson:"current_assignee_id"` CurrentAssigneeEmail string `bson:"current_assignee_email"` Status string `bson:"status"` PriorityLevel string `bson:"priority_level"` TicketType string `bson:"ticket_type"` Comments []Comment `bson:"comments"` DueDate string `bson:"due_date"` OpenDay int `bson:"open_day"` OpenMonth int `bson:"open_month"` OpenYear int `bson:"open_year"` CloseDay int `bson:"close_day"` CloseMonth int `bson:"close_month"` CloseYear int `bson:"close_year"` CloseDurationInDays int `bson:"close_duration_in_days"` NotificationActive bool `bson:"notification_active"` SendUpdatesOnEmail bool `bson:"send_updates_on_email"` FeedbackRemarks string `bson:"feedback_remarks"` Rating float32 `bson:"rating"` RatingDate string `bson:"rating_date"` ReminderMailSent bool `bson:"reminder_mail_sent"` IsLocked bool `bson:"is_locked"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type TicketConfig ¶
type TicketConfig struct { ID primitive.ObjectID `bson:"_id"` DepartmentName string `bson:"dept_name"` PrimaryEmployeeId string `bson:"primary_emp_id"` PrimaryEmployeeName string `bson:"primary_emp_name"` PrimaryEmployeeEmail string `bson:"primary_emp_email"` SecondaryEmployeeId string `bson:"secondary_emp_id"` SecondaryEmployeeName string `bson:"secondary_emp_name"` SecondaryEmployeeEmail string `bson:"secondary_emp_email"` IsSecondaryActive bool `bson:"is_secondary_active"` Queries []Query `bson:"queries"` TotalNumberOfTickets int64 `bson:"total_number_of_tickets"` NumberOfOpenTickets int64 `bson:"number_of_open_tickets"` NumberOfReopenTickets int64 `bson:"number_of_reopen_tickets"` NumberOfClosedTickets int64 `bson:"number_of_closed_tickets"` AverageTicketCloserTimeInDays int64 `bson:"average_ticket_closer_time_in_days"` NotifyNewTicketOnEmail bool `bson:"notify_new_ticket_on_email"` LockClosedTicketsAfterDays int64 `bson:"lock_closed_tickets_after_days"` SendFeedbackReminders bool `bson:"send_feedback_remonders"` SendFeedbackReminderAfterDays int64 `bson:"send_feedback_remonder_after_days"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
type TimeLineInfo ¶
type Training ¶
type Training struct { TrainingProgramName string `bson:"training_program_name"` TrainingProvider string `bson:"training_provider"` StartDate string `bson:"start_date"` EndDate string `bson:"end_date"` TrainingDuration string `bson:"training_duration"` CertificateAwarded bool `bson:"certificate_awarded"` CertificateNumber string `bson:"certificate_number"` IsTrainingCertVerified bool `bson:"is_training_cert_verified"` Description string `bson:"description"` AttachmentURL string `bson:"attachment_url"` }
Source Files ¶
- assign_asset.go
- client.go
- collections.go
- department.go
- department_attendance_conf.go
- designation.go
- employee_attendance.go
- employee_attendance_conf.go
- employee_attendance_regularization.go
- employee_certificate_and_training_info.go
- employee_document_info.go
- employee_leave.go
- employee_personal_info.go
- employee_professional_info.go
- employee_qualification_info.go
- employee_rewards.go
- employee_summary.go
- employee_team_info.go
- employee_type.go
- holiday.go
- inventory-department.go
- inventory.go
- jobmgr-application.go
- jobmgr-jobs.go
- jobmgr_allocation_table.go
- jobmgr_application_counter.go
- jobmgr_cadidate_counter.go
- jobmgr_calculated_stats.go
- jobmgr_candidate.go
- jobmgr_daily_stats.go
- jobmgr_job_app_status.go
- jobmgr_job_counter.go
- jobmgr_job_status.go
- marque.go
- org_attendance_conf.go
- org_holidays.go
- org_inventory_bucket.go
- org_inventory_store.go
- org_leave_conf.go
- org_offer_letter.go
- org_salary_conf.go
- organization.go
- policy.go
- post.go
- role_enums.go
- tenant.go
- ticket_models.go
Click to show internal directories.
Click to hide internal directories.