hrms

package
v0.0.0-...-8fa2ea3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ANALYTIC_COLLECTION_ANALYTICS = "analytic-analytics"
View Source
const DEPARTMENT_COLLECTION_ATTENDANCE_CONF = "department-attendance-conf"
View Source
const DEPARTMENT_COLLECTION_DESIGNATIONS = "department-designations"
View Source
const EMPLOYEE_COLLECTION_ASSET = "employee-assets"
View Source
const EMPLOYEE_COLLECTION_ASSET_COUNTER = "employee-asset-counter"
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_BANK = "employee-banks"
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 EMPLOYEE_COLLECTION_TECH_INFO = "employee-tech-info"
View Source
const GSORG_COLLECTION_DONATIONS = "gsorg-donations"
View Source
const GSORG_COLLECTION_DONATION_COUNTER = "gsorg-donation-counter"
View Source
const GSORG_COLLECTION_DONATION_PAYMENTS = "gsorg-donation-payments"
View Source
const GSORG_COLLECTION_DONORS = "gsorg-donors"
View Source
const GSORG_COLLECTION_DONOR_COUNTER = "gsorg-donor-counter"
View Source
const GSORG_COLLECTION_PAYMENT_ORDERS = "gsorg-payment-orders"
View Source
const GSORG_COLLECTION_PAYMENT_PAYMENTS = "gsorg-payment-payments"
View Source
const GSORG_COLLECTION_PROCESSED_EVENTS = "gsorg-processed-events"
View Source
const GSORG_COLLECTION_SCHOLARSHIP_REQUESTS = "gsorg-scholarship-requests"
View Source
const GSORG_COLLECTION_STUDENT_COUNTER = "gsorg-student-counter"
View Source
const GSORG_COLLECTION_SUBSCRIPTIONS = "gsorg-subscriptions"
View Source
const GSORG_COLLECTION_SUBSCRIPTION_COUNTER = "gsorg-subscription-counter"
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 NOTIFICATION_COLLECTION_DEVICES = "notification-devices"
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_CLIENT_HOLIDAYS = "org-client_holidays"
View Source
const ORG_COLLECTION_DEPARTMENTS = "org-departments"
View Source
const ORG_COLLECTION_DOCUMENTS = "org-documents"
View Source
const ORG_COLLECTION_EMPLOYEE_SHIFTS = "org-employee-shifts"
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_POLL = "org-poll"
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 PAYMENT_COLLECTION_ORDERS = "payment-orders"
View Source
const PAYMENT_COLLECTION_PAYMENTS = "payment-payments"
View Source
const PAYMENT_COLLECTION_PROCESSED_EVENTS = "payment-processed-events"
View Source
const REIMBURSEMENT_COLLECTION_EXPENSE = "reimbursement-expenses"
View Source
const REIMBURSEMENT_COLLECTION_EXPENSE_COUNTER = "reimbursement-expense-counter"
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 TICKET_COLLECTION_TICKET_LEADS = "ticket-ticket-leads"
View Source
const VOLUNTEER_COLLECTION_REQUESTS = "volunteer-requests"
View Source
const VOLUNTEER_COLLECTION_VOLUNTEERS = "volunteer-volunteers"
View Source
const VOLUNTEER_COLLECTION_VOLUNTEER_COUNTER = "volunteer-volunteer-counter"
View Source
const WORKER_COLLECTION_DOMAINS = "worker-domains"

Variables

This section is empty.

Functions

func GetAllAnalyticsType

func GetAllAnalyticsType() []string

func GetAllEmploymentStatus

func GetAllEmploymentStatus() []string

func GetAllExpenseStates

func GetAllExpenseStates() []string

func GetAllInputTypes

func GetAllInputTypes() []string

func GetAllJobAppStatus

func GetAllJobAppStatus() []string

func GetAllJobStatus

func GetAllJobStatus() []string

func GetAllRoles

func GetAllRoles() []string

func GetAllScholarshipStates

func GetAllScholarshipStates() []string

func GetAllShiftType

func GetAllShiftType() []string

func GetAnalyticsCollection

func GetAnalyticsCollection(client *mongo.Client, domain string) *mongo.Collection

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 GetEmpAssetCollection

func GetEmpAssetCollection(client *mongo.Client, domain string) *mongo.Collection

func GetEmpAssetCounterCollection

func GetEmpAssetCounterCollection(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 GetEmpBankCollection

func GetEmpBankCollection(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 GetEmpTechInfoCollection

func GetEmpTechInfoCollection(client *mongo.Client, domain string) *mongo.Collection

func GetExpenseCollection

func GetExpenseCollection(client *mongo.Client, domain string) *mongo.Collection

func GetExpenseCounterCollection

func GetExpenseCounterCollection(client *mongo.Client, domain string) *mongo.Collection

func GetGSOrgDonationCounterCollection

func GetGSOrgDonationCounterCollection(client *mongo.Client, domain string) *mongo.Collection

func GetGSOrgDonationPaymentsCollection

func GetGSOrgDonationPaymentsCollection(client *mongo.Client, domain string) *mongo.Collection

func GetGSOrgDonationsCollection

func GetGSOrgDonationsCollection(client *mongo.Client, domain string) *mongo.Collection

func GetGSOrgDonorCounterCollection

func GetGSOrgDonorCounterCollection(client *mongo.Client, domain string) *mongo.Collection

func GetGSOrgDonorsCollection

func GetGSOrgDonorsCollection(client *mongo.Client, domain string) *mongo.Collection

func GetGSOrgPaymentOrdersCollection

func GetGSOrgPaymentOrdersCollection(client *mongo.Client, domain string) *mongo.Collection

func GetGSOrgPaymentPaymentsCollection

func GetGSOrgPaymentPaymentsCollection(client *mongo.Client, domain string) *mongo.Collection

func GetGSOrgProcessedEventsCollection

func GetGSOrgProcessedEventsCollection(client *mongo.Client, domain string) *mongo.Collection

func GetGSOrgScholarshipRequestCollection

func GetGSOrgScholarshipRequestCollection(client *mongo.Client, domain string) *mongo.Collection

func GetGSOrgStudentCounterCollection

func GetGSOrgStudentCounterCollection(client *mongo.Client, domain string) *mongo.Collection

func GetGSOrgSubscriptionCollection

func GetGSOrgSubscriptionCollection(client *mongo.Client, domain string) *mongo.Collection

func GetGSOrgSubscriptionCounterCollection

func GetGSOrgSubscriptionCounterCollection(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 GetNotificationDevicesCollection

func GetNotificationDevicesCollection(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 GetOrgClientHolidaysCollection

func GetOrgClientHolidaysCollection(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 GetOrgEmployeeShiftsCollection

func GetOrgEmployeeShiftsCollection(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 GetOrgPollCollection

func GetOrgPollCollection(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 GetPaymentOrdersCollection

func GetPaymentOrdersCollection(client *mongo.Client, domain string) *mongo.Collection

func GetPaymentPaymentsCollection

func GetPaymentPaymentsCollection(client *mongo.Client, domain string) *mongo.Collection

func GetPaymentProcessedEventsCollection

func GetPaymentProcessedEventsCollection(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 GetTicketTicketLeadsCollection

func GetTicketTicketLeadsCollection(client *mongo.Client, domain string) *mongo.Collection

func GetTicketTicketsCollection

func GetTicketTicketsCollection(client *mongo.Client, domain string) *mongo.Collection

func GetVolunteerCounterCollection

func GetVolunteerCounterCollection(client *mongo.Client, domain string) *mongo.Collection

func GetVolunteerRequestsCollection

func GetVolunteerRequestsCollection(client *mongo.Client, domain string) *mongo.Collection

func GetVolunteersCollection

func GetVolunteersCollection(client *mongo.Client, domain string) *mongo.Collection

func GetWorkerDomainCollection

func GetWorkerDomainCollection(client *mongo.Client, domain string) *mongo.Collection

Types

type Achivement

type Achivement struct {
	Year        string `bson:"year"`
	Month       string `bson:"month"`
	Title       string `bson:"title"`
	Description string `bson:"description"`
	CompanyName string `bson:"company_name"`
	ClientName  string `bson:"client_name"`
	URL         string `bson:"url"`
}

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"`
	District           string  `bson:"district"`
	Village            string  `bson:"village"`
	Tehsil             string  `bson:"tehsil"`
	Country            string  `bson:"country"`
	Zipcode            string  `bson:"zipcode"`
	Lat                float64 `bson:"lat"`
	Lng                float64 `bson:"lng"`
	GoogleLocationCode string  `bson:"google_location_code"`
}

type AgeWise

type AgeWise struct {
	AgeGroup  string    `bson:"age_group"`
	Count     int       `bson:"count"`
	UpdatedAt time.Time `bson:"updated_at"`
	CreatedAt time.Time `bson:"created_at"`
}

type AllocationEntry

type AllocationEntry struct {
	ID         primitive.ObjectID `bson:"_id"`
	NextIndex  int64              `bson:"index"`
	Recruiters []RecruiterInfo    `bson:"recruiters"`
}

type AnalyticsType

type AnalyticsType int
const (
	Hirings AnalyticsType = iota + 1
	Exits
	Employees
	Employments
	Events
)

func AnalyticsTypeFromString

func AnalyticsTypeFromString(s string) AnalyticsType

func (AnalyticsType) EnumIndex

func (r AnalyticsType) EnumIndex() int

func (AnalyticsType) String

func (r AnalyticsType) String() string

type ApplicationIdCounter

type ApplicationIdCounter struct {
	ID      primitive.ObjectID `bson:"_id"`
	JobId   string             `bson:"job_id"`
	Prefix  string             `bson:"prefix"`
	Counter int64              `bson:"counter"`
}

type Appraisal

type Appraisal struct {
	Year                           string           `bson:"year"`
	AppraisalStartDate             string           `bson:"appraisal_start_date"`
	AppraisalEndDate               string           `bson:"appraisal_end_date"`
	AppraisalStatus                string           `bson:"appraisal_status"`
	IsSubmittedByEmployee          bool             `bson:"is_submitted_by_employee"`
	IsSubmittedByManager           bool             `bson:"is_submitted_by_manager"`
	IsSubmittedByHR                bool             `bson:"is_submitted_by_hr"`
	IsSubmittedByClient            bool             `bson:"is_submitted_by_client"`
	EmployeeId                     string           `bson:"employee_id"`
	EmployeeName                   string           `bson:"employee_name"`
	EmployeeDesignation            string           `bson:"employee_designation"`
	EmployeeDepartment             string           `bson:"employee_department"`
	EmployeeLocation               string           `bson:"employee_location"`
	EmployeeDateOfJoining          string           `bson:"employee_date_of_joining"`
	EmployeeTenureInDays           string           `bson:"employee_tenure_in_days"`
	EmployeeAttendancePercentage   string           `bson:"employee_attendance_percentage"`
	EmployeeEngineeringManagerName string           `bson:"employee_engineering_manager_name"`
	EmployeeEngineeringManagerId   string           `bson:"employee_engineering_manager_id"`
	EmployeeClientManagerName      string           `bson:"employee_client_manager_name"`
	EmployeeClientManagerId        string           `bson:"employee_client_manager_id"`
	EmployeeHRManagerName          string           `bson:"employee_hr_manager_name"`
	EmployeeHRManagerId            string           `bson:"employee_hr_manager_id"`
	Projects                       []Project        `bson:"projects"`
	KeySkills                      []Rating         `bson:"key_skills"`
	AssesmentsmentRating           []Rating         `bson:"assessment_rating"`
	HighLights                     []HighLight      `bson:"highlights"`
	QuestionAnswers                []QuestionAnswer `bson:"question_answers"`
	Achivements                    []Achivement     `bson:"achivements"`
	Awards                         []Award          `bson:"awards"`
	HRFeedbacks                    []HRFeedback     `bson:"hr_feedbacks"`
	OverallEmployeeRating          string           `bson:"overall_employee_rating"`
	OverallManagerRating           string           `bson:"overall_manager_rating"`
	OverallEmployeeRemarks         string           `bson:"overall_employee_remarks"`
	OverallManagerRemarks          string           `bson:"overall_manager_remarks"`
	GoalsAndExpectionsForNextYear  string           `bson:"goals_and_expections_for_next_year"`
	CurrentCTC                     float32          `bson:"current_ctc"`
	CurrentPLBonusAmount           float32          `bson:"current_pl_bonus_amount"`
	NewCTC                         float32          `bson:"new_ctc"`
	IncrementPercentage            float32          `bson:"increment_percentage"`
	IncrementAmount                float32          `bson:"increment_amount"`
	PromotionDesignation           string           `bson:"promotion_designation"`
	ApprovedPLBonusAmount          float32          `bson:"approved_pl_bonus_amount"`
	ApprovedPLBonusPercentage      float32          `bson:"approved_pl_bonus_percentage"`
	DateOfCurrentDesignation       string           `bson:"date_of_current_designation"`
	TotalLeavesAvailed             float32          `bson:"total_leaves_availed"`
	TotalYearOfExperience          float32          `bson:"total_year_of_experience"`
	TotalYearOfRelevantExperience  float32          `bson:"total_year_of_relevant_experience"`
	DesignationAtTheTimeOfJoining  string           `bson:"designation_at_the_time_of_joining"`
}

type AssetIdCounter

type AssetIdCounter struct {
	ID      primitive.ObjectID `bson:"_id"`
	Prefix  string             `bson:"prefix"`
	Counter int64              `bson:"counter"`
}

type AssetTransitInfo

type AssetTransitInfo struct {
	TransitType  string `bson:"asset_handover_type"` // handover, return
	TransitMode  string `bson:"asset_handover_mode"` // Pickup ByEmployee, Courier, Runner, Deleviry By Hand
	Remarks      string `bson:"asset_handover_remarks"`
	StartDate    string `bson:"asset_handover_start_date"`
	DeliveryDate string `bson:"asset_handover_delivery_date"`
	TrackingId   string `bson:"asset_handover_tracking_id"`
	TrackingURL  string `bson:"asset_handover_tracking_url"`
	InvoiceURL   string `bson:"asset_handover_invoice_url"`
}

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 AttendanceAnalytics

type AttendanceAnalytics struct {
	Day            int `bson:"day"`
	Month          int `bson:"month"`
	Year           int `bson:"year"`
	TotalEmployees int `bson:"total_employees"`
	TenureDays     int `bson:"tenure_days"`
	WorkingDays    int `bson:"working_days"`
	LeaveDays      int `bson:"leave_days"`
	LOPDays        int `bson:"lop_days"`
}

type Availability

type Availability struct {
	Day       string `bson:"day"`
	Morning   bool   `bson:"morning"`
	Afternoon bool   `bson:"afternoon"`
	Evening   bool   `bson:"evening"`
	FullDay   bool   `bson:"full_day"`
}

type Award

type Award struct {
	Year        string `bson:"year"`
	Month       string `bson:"month"`
	Title       string `bson:"title"`
	Description string `bson:"description"`
	CompanyName string `bson:"company_name"`
	ClientName  string `bson:"client_name"`
	URL         string `bson:"url"`
}

type BankInfo

type BankInfo struct {
	ID              primitive.ObjectID `bson:"_id"`
	EmployeeId      string             `bson:"employee_id"`
	FullName        string             `bson:"full_name"`
	BankName        string             `bson:"bank_name"`
	AccountNumber   string             `bson:"account_number"`
	IsSalaryAccount bool               `bson:"is_salary_account"`
	IFSC            string             `bson:"ifsc"`
	ChequeURL       string             `bson:"cheque_url"`
	CreatedAt       string             `bson:"created_at"`
	UpdatedAt       string             `bson:"updated_at"`
	UpdatedBy       string             `bson:"updated_by"`
}

type CalculatedStats

type CalculatedStats struct {
	Day             int           `bson:"day"`
	Month           int           `bson:"month"`
	Year            int           `bson:"year"`
	Weekday         string        `bson:"weekday"`
	TotalCount      int           `bson:"total_count"`
	StatusWithCount []StatusCount `bson:"status_with_count"`
	IsToday         bool          `bson:"is_today"`
	IsHoliday       bool          `bson:"is_holiday"`
}

type CandidateIdCounter

type CandidateIdCounter struct {
	ID      primitive.ObjectID `bson:"_id"`
	Prefix  string             `bson:"prefix"`
	Counter int64              `bson:"counter"`
}

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 Client

type Client struct {
	ClientName                  string `bson:"client_name"`
	ProjectName                 string `bson:"project_name"`
	IsInternalProject           bool   `bson:"is_internal_project"`
	ReportingManagerName        string `bson:"reporting_manager_name"`
	ReportingManagerEmailID     string `bson:"reporting_manager_email_id"`
	ReportingManagerPhoneNumber string `bson:"reporting_manager_phone_number"`
	IsClientBillable            bool   `bson:"is_client_billable"`
	ReleaseDate                 string `bson:"release_date"`
}

type ClientContactInfo

type ClientContactInfo struct {
	ID                 primitive.ObjectID `bson:"_id"`
	ClientId           string             `bson:"client_id"`
	ContactName        string             `bson:"contact_name"`
	ContactEmail       string             `bson:"contact_email"`
	ContactPhone       string             `bson:"contact_phone"`
	ContactDesignation string             `bson:"contact_designation"`
	ContactRole        string             `bson:"contact_role"`
	ContactDescription string             `bson:"contact_description"`
	CreatedBy          string             `bson:"created_by"`
	ReferencedBy       string             `bson:"referenced_by"`
	CreatedAt          time.Time          `bson:"created_at"`
	UpdatedAt          time.Time          `bson:"updated_at"`
}

type ClientHoliday

type ClientHoliday struct {
	ID          primitive.ObjectID `bson:"_id"`
	ClientId    string             `bson:"client_id"`
	ClientName  string             `bson:"client_name"`
	Day         string             `bson:"day"`
	Month       string             `bson:"month"`
	Year        string             `bson:"year"`
	Type        string             `bson:"type"`
	WeekDay     string             `bson:"week_day"`
	Description string             `bson:"description"`
}

type ClientInfo

type ClientInfo struct {
	ID                primitive.ObjectID `bson:"_id"`
	ClientId          string             `bson:"client_id"`
	ClientName        string             `bson:"client_name"`
	ClientType        string             `bson:"client_type"`
	ClientStatus      string             `bson:"client_status"`
	ClientDescription string             `bson:"client_description"`
	ClientWebsite     string             `bson:"client_website"`
	ClientAddress     []Address          `bson:"client_address"`
	CreatedBy         string             `bson:"created_by"`
	CreatedAt         time.Time          `bson:"created_at"`
	UpdatedAt         time.Time          `bson:"updated_at"`
}

type ClientWise

type ClientWise struct {
	ClientName string    `bson:"client_name"`
	Count      int       `bson:"count"`
	UpdatedAt  time.Time `bson:"updated_at"`
	CreatedAt  time.Time `bson:"created_at"`
}

type Comment

type Comment struct {
	TicketID       string   `bson:"ticket_id"`
	UserID         string   `bson:"user_id"`
	Username       string   `bson:"user_name"`
	Message        string   `bson:"message"`
	AttachmentURLs []string `bson:"attachment_urls"`
	CreatedAt      string   `bson:"created_at"`
}

type DailyAttendanceObject

type DailyAttendanceObject struct {
	EID         string `bson:"eid"`
	IsProcessed bool   `bson:"is_processed"`
}

type DailyCheckInStat

type DailyCheckInStat struct {
	CheckInTime    string  `bson:"check_in_time"`
	CheckOutTime   string  `bson:"check_out_time"`
	CheckInSource  string  `bson:"check_in_source"`
	CheckOutSource string  `bson:"check_out_source"`
	CheckInLat     float64 `bson:"check_in_lat"`
	CheckInLng     float64 `bson:"check_in_lng"`
	CheckOutLat    float64 `bson:"check_out_lat"`
	CheckOutLng    float64 `bson:"check_out_lng"`
	WorkingHours   float32 `bson:"working_hours"`
}

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 DepartmentWise

type DepartmentWise struct {
	Department string    `bson:"department"`
	Count      int       `bson:"count"`
	UpdatedAt  time.Time `bson:"updated_at"`
	CreatedAt  time.Time `bson:"created_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 Device

type Device struct {
	ID         primitive.ObjectID `bson:"_id,omitempty"`
	Token      string             `bson:"token"`
	DeviceId   string             `bson:"device_id"`
	DeviceType string             `bson:"device_type"`
	EmployeeId string             `bson:"employee_id"`
}

type DocumentInfo

type DocumentInfo struct {
	DocName              string    `bson:"doc_name"`
	DocType              string    `bson:"doc_type"`
	DocURL               string    `bson:"doc_url"`
	IsMandotory          bool      `bson:"is_mandatory"`
	DocStatus            string    `bson:"doc_status"`
	DocRemarks           string    `bson:"doc_remarks"`
	IsVerified           bool      `bson:"is_verified"`
	VerifiedBy           string    `bson:"verified_by"`
	VerifiedOn           time.Time `bson:"verified_at"`
	VerificationMode     string    `bson:"verification_mode"`
	VerificationStatus   string    `bson:"verification_status"`
	IsVerificationPassed bool      `bson:"is_verification_passed"`
	VerificationRemarks  string    `bson:"verification_remarks"`
	CreatedAt            time.Time `bson:"created_at"`
	UpdatedAt            time.Time `bson:"updated_at"`
}

type DonationCollection

type DonationCollection struct {
	Month             string  `bson:"month"`
	Year              string  `bson:"year"`
	TotalAmount       float64 `bson:"total_amount"`
	TotalContributors int     `bson:"total_contributors"`
}

type DonationPayment

type DonationPayment struct {
	ID                  primitive.ObjectID `bson:"_id"`
	DonationId          string             `bson:"donation_id"`
	DonorId             string             `bson:"donor_id"`
	DonorName           string             `bson:"donor_name"`
	DonationAmount      float64            `bson:"donation_amount"`
	Day                 string             `bson:"day"`
	Month               string             `bson:"month"`
	Year                string             `bson:"year"`
	DonationDate        time.Time          `bson:"donation_date"`
	DonationRemarks     string             `bson:"donation_remarks"`
	DonationStatus      string             `bson:"donation_status"`
	DonationType        string             `bson:"donation_type"`
	DonationMode        string             `bson:"donation_mode"`
	DonationReceiptId   string             `bson:"donation_receipt_id"`
	DonationReceiptURL  string             `bson:"donation_receipt_url"`
	DonationReceiptDate time.Time          `bson:"donation_receipt_date"`
	CreatedAt           time.Time          `bson:"created_at"`
	UpdatedAt           time.Time          `bson:"updated_at"`
}

type DonationPaymentHistory

type DonationPaymentHistory struct {
	DonationId          string    `bson:"donation_id"`
	DonationAmount      float64   `bson:"donation_amount"`
	DonationDate        time.Time `bson:"donation_date"`
	DonationRemarks     string    `bson:"donation_remarks"`
	DonationStatus      string    `bson:"donation_status"`
	DonationType        string    `bson:"donation_type"`
	DonationMode        string    `bson:"donation_mode"`
	DonationReceiptId   string    `bson:"donation_receipt_id"`
	DonationReceiptURL  string    `bson:"donation_receipt_url"`
	DonationReceiptDate time.Time `bson:"donation_receipt_date"`
}

type Donor

type Donor struct {
	ID                     primitive.ObjectID       `bson:"_id"`
	DonorId                string                   `bson:"donor_id"`
	DonorName              string                   `bson:"donor_name"`
	DonorEmail             string                   `bson:"donor_email"`
	DonorPhone             string                   `bson:"donor_phone"`
	TotalDonation          float64                  `bson:"total_donation"`
	TotalDonationCount     int                      `bson:"total_donation_count"`
	KeepIdentityHidden     bool                     `bson:"keep_identity_hidden"`
	DonationPaymentHistory []DonationPaymentHistory `bson:"donation_payment_history"`
	Subscriptions          []Subscription           `bson:"subscriptions"`
	CreatedAt              time.Time                `bson:"created_at"`
	UpdatedAt              time.Time                `bson:"updated_at"`
}

type EAnanlytics

type EAnanlytics struct {
	ID                  primitive.ObjectID    `bson:"_id"`
	NextUpdateType      string                `bson:"next_update_type"`
	HiringAnalytics     []HiringAnalytics     `bson:"hiring_analytics"`
	ExitAnalytics       []ExitAnalytics       `bson:"exit_analytics"`
	EmploymentAnalytics []EmploymentAnalytics `bson:"employment_analytics"`
	EmployeeAnalytics   []EmployeeAnalytics   `bson:"employee_analytics"`
	EventsAnalytics     []EventsAnalytics     `bson:"events_analytics"`
	UpdatedAt           time.Time             `bson:"updated_at"`
	CreatedAt           time.Time             `bson:"created_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"`
	EnforceAttendanceSource bool               `bson:"enforce_attendance_source"`
	AttendanceSource        string             `bson:"attendance_source"`
	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"`
	EmploymentStatus        string             `bson:"employment_status"`
	ShiftTimings            []EmpShiftTimings  `bson:"shift_timings"`
	NextShiftTimingsIndex   int32              `bson:"next_shift_timings_index"`
	CreatedAt               time.Time          `bson:"created_at"`
	UpdatedAt               time.Time          `bson:"updated_at"`
}

type EmpAttendanceRegularization

type EmpAttendanceRegularization struct {
	ID                        primitive.ObjectID `bson:"_id"`
	EmployeeId                string             `bson:"employee_id"`
	EmployeeName              string             `bson:"employee_name"`
	EmployeeEmail             string             `bson:"employee_email"`
	Department                string             `bson:"department"`
	Domain                    string             `bson:"domain"`
	Day                       int32              `bson:"day"`
	Month                     int32              `bson:"month"`
	Year                      int32              `bson:"year"`
	CheckInTime               string             `bson:"check_in_time"`
	CheckOutTime              string             `bson:"check_out_time"`
	OldWorkingHours           float32            `bson:"old_working_hours"`
	NewWorkingHours           float32            `bson:"new_working_hours"`
	TotalWorkingHours         float32            `bson:"total_working_hours"`
	ApprovedCheckInTime       string             `bson:"approved_check_in_time"`
	ApprovedCheckOutTime      string             `bson:"approved_check_out_time"`
	ApprovedNewWorkingHours   float32            `bson:"approved_new_working_hours"`
	ApprovedTotalWorkingHours float32            `bson:"approved_total_working_hours"`
	IsHalfDay                 bool               `bson:"is_half_day"`
	EmployeeRemarks           string             `bson:"employee_remarks"`
	Status                    string             `bson:"status"`
	RequestedOn               string             `bson:"requested_on"`
	RegularizedOn             string             `bson:"regularized_on"`
	ManagerRemarks            string             `bson:"manager_remarks"`
	IsHalfDayApproval         bool               `bson:"is_half_day_approval"`
	DocumentURL               string             `bson:"document_url"`
	ManagerId                 string             `bson:"manager_id"`
	ManagerName               string             `bson:"manager_name"`
	ManagerEmail              string             `bson:"manager_email"`
	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"`
	ReleavingRemarks      string             `bson:"releaving_remarks"`
	EmploymentStatus      string             `bson:"employment_status"`
	IsRotationalShift     bool               `bson:"is_rotational_shift"`
	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"`
	CurrentProject        string             `bson:"current_project"`
	CurrentClient         string             `bson:"current_client"`
	IsBillable            bool               `bson:"is_billable"`
	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 EmpShiftTimings

type EmpShiftTimings struct {
	Day               string    `bson:"day"`
	Month             string    `bson:"month"`
	Year              string    `bson:"year"`
	Weekday           string    `bson:"weekday"`
	ShiftType         ShiftType `bson:"shift_type"`
	IsOverlappedShift bool      `bson:"is_overlapped_shift"`
	OrgCheckInTime    string    `bson:"org_check_in_time"`
	OrgCheckOutTime   string    `bson:"org_check_out_time"`
	IsWorkingDay      bool      `bson:"is_working_day"`
	IsWeeklyOffDay    bool      `bson:"is_weekly_off_day"`
	IsHoliday         bool      `bson:"is_holiday"`
	Color             string    `bson:"color"`
	TextColor         string    `bson:"text_color"`
}

type EmployeeAnalytics

type EmployeeAnalytics struct {
	Day                 int              `bson:"day"`
	Month               int              `bson:"month"`
	Year                int              `bson:"year"`
	EmployeeCount       int              `bson:"employee_count"`
	BillableCount       int              `bson:"billable_count"`
	NonBillableCount    int              `bson:"non_billable_count"`
	WorkFromHomeCount   int              `bson:"work_from_home_count"`
	WorkFromOfficeCount int              `bson:"work_from_office_count"`
	ClientWise          []ClientWise     `bson:"client_wise"`
	LocationWise        []LocationWise   `bson:"location_wise"`
	TenureWise          []TenureWise     `bson:"tenure_wise"`
	SkillWise           []SkillWise      `bson:"skill_wise"`
	DepartmentWise      []DepartmentWise `bson:"department_wise"`
	ExperienceWise      []ExperienceWise `bson:"experience_wise"`
	AgeWise             []AgeWise        `bson:"age_wise"`
	UpdatedAt           time.Time        `bson:"updated_at"`
	CreatedAt           time.Time        `bson:"created_at"`
}

type EmployeeAssetInfo

type EmployeeAssetInfo struct {
	ID                        primitive.ObjectID `bson:"_id"`
	EmployeeID                string             `bson:"employee_id"`
	EmployeeEmail             string             `bson:"employee_email"`
	EmployeeName              string             `bson:"employee_name"`
	EmployeeLocation          string             `bson:"employee_location"`
	Department                string             `bson:"department"`
	AssetPSId                 string             `bson:"asset_ps_id"`
	AssetSerialNumber         string             `bson:"asset_serial_number"`
	AssetName                 string             `bson:"asset_name"`
	AssetType                 string             `bson:"asset_type"`
	AssetDescription          string             `bson:"asset_description"`
	IsAllocated               bool               `bson:"is_allocated"`
	AllocationDate            string             `bson:"allocation_date"`
	AllocationType            string             `bson:"allocation_type"`             //Permanent/Temporary
	AllocationDurationInDays  string             `bson:"allocation_duration_in_days"` //if Temporary
	InTransit                 bool               `bson:"in_transit"`
	AssetTransitInfoList      []AssetTransitInfo `bson:"asset_transit_info_list"`
	ReturnDate                string             `bson:"return_date"`
	AssetImages               []string           `bson:"asset_images"`
	AssetDocuments            []string           `bson:"asset_documents"`
	ImagesUpdatedOn           string             `bson:"image_updated_on"`
	PriceInINR                float64            `bson:"price_in_inr"`
	AssetAggrementStatus      string             `bson:"asset_aggrement_status"`
	TermsAndConditions        string             `bson:"terms_and_conditions"`
	EmployeeConsentStatus     string             `bson:"employee_consent_status"`
	EmployeeConsentReceivedAt string             `bson:"employee_consent_received_at"`
	Status                    string             `bson:"status"`
	Remarks                   []string           `bson:"remarks"`
	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"`
	EnforceAttendanceSource    bool               `bson:"enforce_attendance_source"`
	AttendanceSource           string             `bson:"attendance_source"`
	CheckInSource              string             `bson:"check_in_source"`
	CheckOutSource             string             `bson:"check_out_source"`
	TotalWorkingHours          float32            `bson:"total_working_hours"`
	YesterdayNightWorkingHours float32            `bson:"yesterday_night_working_hours"`
	TodayNightWorkingHours     float32            `bson:"today_night_working_hours"`
	TodayMorningWorkingHours   float32            `bson:"today_morning_working_hours"`
	IsDelayedCheckIn           bool               `bson:"is_delayed_check_in"`
	IsEarlyCheckOut            bool               `bson:"is_early_check_out"`
	IsOnLeave                  bool               `bson:"is_on_leave"`
	IsHalfDayLeave             bool               `bson:"is_half_day_leave"`
	IsWorkingDay               bool               `bson:"is_working_day"`
	IsHoliday                  bool               `bson:"is_holiday"`
	IsWeeklyOffDay             bool               `bson:"is_weekly_off_day"`
	IsFullDayLOP               bool               `bson:"is_full_day_lop"`
	IsHalfDayLOP               bool               `bson:"is_half_day_lop"`
	ShiftType                  ShiftType          `bson:"shift_type"`
	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"`
	IsRegularized              bool               `bson:"is_regularized"`
	RegularizedOn              string             `bson:"regularized_on"`
	RegularizedBy              string             `bson:"regularized_by"`
	Remarks                    string             `bson:"remarks"`
	CreatedAt                  int64              `bson:"createdAt"`
}

type EmployeeInfo

type EmployeeInfo struct {
	EmployeeId      string `bson:"employee_id"`
	FullName        string `bson:"full_name"`
	Department      string `bson:"department"`
	Designation     string `bson:"designation"`
	EmailID         string `bson:"email_id"`
	Status          string `bson:"status"`
	ProfileImageURL string `bson:"profile_image_url"`
}

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               float32            `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               `bson:"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                     float32            `bson:"tenure_in_days"`
	TotalWorkingDays                 float32            `bson:"total_working_days"`
	TotalAbsentDays                  float32            `bson:"total_absent_days"`
	TotalPresentDays                 float32            `bson:"total_present_days"`
	AttendanceStatsUpdatedOn         string             `bson:"attendance_stats_updated_on"`
	LeaveStatsUpdatedOn              string             `bson:"leave_stats_updated_on"`
	EarnedLeaveCycleInDays           int32              `bson:"earned_leave_cycle_in_days"`
	RegularizationReminderMailSentOn string             `bson:"regularization_reminder_mail_sent_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"`
	IsRotationalShift      bool               `bson:"is_rotational_shift"`
	CurrentProject         string             `bson:"current_project"`
	CurrentClient          string             `bson:"current_client"`
	IsBillable             bool               `bson:"is_billable"`
	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 EmployeeTechInfo

type EmployeeTechInfo struct {
	ID                     primitive.ObjectID `bson:"_id"`
	EmployeeId             string             `bson:"employee_id"`
	About                  string             `bson:"about"`
	TotalExperinceInMonths int                `bson:"total_experince_in_months"`
	ReleaseDate            time.Time          `bson:"release_date"`
	PSkill                 string             `bson:"p_skill"`
	IsAppraisalActive      bool               `bson:"is_appraisal_active"`
	SSkills                []string           `bson:"s_skills"`
	Experiences            []Experience       `bson:"experiences"`
	Projects               []Project          `bson:"projects"`
	Achivements            []Achivement       `bson:"achivements"`
	Awards                 []Award            `bson:"awards"`
	Feedbacks              []Feedback         `bson:"feedbacks,omitempty"`
	OldAppraisals          []Appraisal        `bson:"old_appraisals,omitempty"`
	ActiveAppraisal        Appraisal          `bson:"active_appraisal,omitempty"`
	Separations            []SeparationInfo   `bson:"separations"`
	IsSeparationInfoLocked bool               `bson:"is_separation_info_locked"`
	IsProfileEditingLocked bool               `bson:"is_profile_editing_locked"`
}

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 EmploymentAnalytics

type EmploymentAnalytics struct {
	Day                   int       `bson:"day"`
	Month                 int       `bson:"month"`
	Year                  int       `bson:"year"`
	TotalEmployees        int       `bson:"total_employees"`
	ActiveEmployees       int       `bson:"active_employees"`
	InactiveEmployees     int       `bson:"inactive_employees"`
	NoticePeriodEmployees int       `bson:"notice_period_employees"`
	OnPIPEmployees        int       `bson:"on_pip_employees"`
	SuspendedEmployees    int       `bson:"suspended_employees"`
	UpdatedAt             time.Time `bson:"updated_at"`
	CreatedAt             time.Time `bson:"created_at"`
}

type EmploymentStatus

type EmploymentStatus int
const (
	Active EmploymentStatus = iota + 1
	NoticePeriod
	OnPIP
	Suspended
	Inactive
)

func EmploymentStatusEnumFromString

func EmploymentStatusEnumFromString(s string) EmploymentStatus

func (EmploymentStatus) EnumIndex

func (r EmploymentStatus) EnumIndex() int

func (EmploymentStatus) String

func (r EmploymentStatus) String() string

type EventWise

type EventWise struct {
	EventName string    `bson:"event_name"`
	Count     int       `bson:"count"`
	UpdatedAt time.Time `bson:"updated_at"`
	CreatedAt time.Time `bson:"created_at"`
}

type EventsAnalytics

type EventsAnalytics struct {
	Day         int         `bson:"day"`
	Month       int         `bson:"month"`
	Year        int         `bson:"year"`
	EventsCount int         `bson:"events_count"`
	EventWise   []EventWise `bson:"event_wise"`
	UpdatedAt   time.Time   `bson:"updated_at"`
	CreatedAt   time.Time   `bson:"created_at"`
}

type ExitAnalytics

type ExitAnalytics struct {
	Day            int              `bson:"day"`
	Month          int              `bson:"month"`
	Year           int              `bson:"year"`
	ExitCount      int              `bson:"exit_count"`
	GenderWise     []GenderWise     `bson:"gender_wise"`
	DepartmentWise []DepartmentWise `bson:"department_wise"`
	ExperienceWise []ExperienceWise `bson:"experience_wise"`
	UpdatedAt      time.Time        `bson:"updated_at"`
	CreatedAt      time.Time        `bson:"created_at"`
}

type Expense

type Expense struct {
	ID                      primitive.ObjectID `bson:"_id"`
	ExpenseId               string             `bson:"expense_id"`
	EmployeeId              string             `bson:"employee_id"`
	EmployeeName            string             `bson:"employee_name"`
	ExpenseState            ExpenseState       `bson:"expense_state"`
	Category                string             `bson:"category"`
	SubCategory             string             `bson:"sub_category"`
	Day                     string             `bson:"day"`
	Month                   string             `bson:"month"`
	Year                    string             `bson:"year"`
	BillDate                string             `bson:"bill_date"`
	BillAmount              float32            `bson:"bill_amount"`
	BillAmountInINR         float32            `bson:"bill_amount_in_inr"`
	BillCurrency            string             `bson:"bill_currency"`
	BillNumber              string             `bson:"bill_number"`
	PaidTo                  string             `bson:"paid_to"`
	IsBillable              bool               `bson:"is_billable"`
	BillableProject         string             `bson:"billable_project"`
	ApprovedAmount          float32            `bson:"approved_amount"`
	ApprovedAmountInINR     float32            `bson:"approved_amount_in_inr"`
	RejectedAmount          float32            `bson:"rejected_amount"`
	RejectedAmountInINR     float32            `bson:"rejected_amount_in_inr"`
	ConversionRate          float32            `bson:"conversion_rate"`
	PrimaryApproverId       string             `bson:"primary_approver_id"`
	PrimaryApproverName     string             `bson:"primary_approver_name"`
	IsApprovedByPrimary     bool               `bson:"is_approved_by_primary"`
	SecondaryApproverId     string             `bson:"secondary_approver_id"`
	SecondaryApproverName   string             `bson:"secondary_approver_name"`
	NeedBothApproval        bool               `bson:"need_both_approval"`
	FinanceApproverId       string             `bson:"finance_approver_id"`
	FinanceApproverName     string             `bson:"finance_approver_name"`
	FinanceStatusUpdatedOn  string             `bson:"secondary_status_updated_on"`
	ReimbursementPaid       bool               `bson:"reimbursement_paid"`
	ReimbursementPaidAmount float32            `bson:"reimbursement_paid_amount"`
	ReimbursementPaidOn     time.Time          `bson:"reimbursement_paid_on"`
	Remarks                 []RemarksInfo      `bson:"remarks"`
	DocURL                  string             `bson:"doc_url"`
	CreatedAt               time.Time          `bson:"created_at"`
	UpdatedAt               time.Time          `bson:"updated_at"`
}

type ExpenseIdCounter

type ExpenseIdCounter struct {
	ID         primitive.ObjectID `bson:"_id"`
	EmployeeId string             `bson:"employee_id"`
	Prefix     string             `bson:"prefix"`
	Counter    int64              `bson:"counter"`
}

type ExpenseState

type ExpenseState int
const (
	EApplied ExpenseState = iota + 1
	EPrimaryApproved
	EPrimaryRejected
	ESecondaryApproved
	ESecondaryRejected
	EFinanceAccepted
	EFinanceRejected
	EPaid
	EUnknown
)

func ExpenseStateFromString

func ExpenseStateFromString(s string) ExpenseState

func (ExpenseState) EnumIndex

func (r ExpenseState) EnumIndex() int

func (ExpenseState) String

func (r ExpenseState) String() string

type Experience

type Experience struct {
	StartYearAndMonth  string `bson:"start_year_and_month"`
	EndYearAndMonth    string `bson:"end_year_and_month"`
	ExperienceInMonths int    `bson:"experience_in_months"`
	CompanyName        string `bson:"company_name"`
	Designation        string `bson:"designation"`
}

type ExperienceWise

type ExperienceWise struct {
	ExperienceGroup string    `bson:"experience_group"`
	Count           int       `bson:"count"`
	UpdatedAt       time.Time `bson:"updated_at"`
	CreatedAt       time.Time `bson:"created_at"`
}

type FamilyInfo

type FamilyInfo struct {
	FamilyMemberId           string `bson:"family_member_id"`
	EmployeeId               string `bson:"employee_id"`
	EmployeeName             string `bson:"employee_name"`
	FamilyMemberName         string `bson:"family_member_name"`
	FamilyMemberDOB          string `bson:"family_member_dob"`
	FamilyMemberGender       string `bson:"family_member_gender"`
	FamilyMemberAadharNumber string `bson:"family_member_aadhar_number"`
	FamilyMemberRelation     string `bson:"family_member_relation"`
	CoveredInCorporateIns    bool   `bson:"covered_in_corporate_ins"`
	InsurancePolicyId        string `bson:"insurance_policy_id"`
	InsuranceCardURL         string `bson:"insurance_card_url"`
	UpdateAt                 string `bson:"updated_at"`
	UpdateBy                 string `bson:"updated_by"`
}

type Feedback

type Feedback struct {
	EmployeeDesignation string `bson:"employee_designation"`
	Day                 string `bson:"day"`
	Year                string `bson:"year"`
	Month               string `bson:"month"`
	Title               string `bson:"title"`
	Description         string `bson:"description"`
	URL                 string `bson:"url"`
	CreatedBy           string `bson:"created_by"`
	CreatorDesignation  string `bson:"creator_designation"`
}

type GenderWise

type GenderWise struct {
	Gender    string    `bson:"gender"`
	Count     int       `bson:"count"`
	UpdatedAt time.Time `bson:"updated_at"`
	CreatedAt time.Time `bson:"created_at"`
}

type Greeting

type Greeting struct {
	EmployeeId   string `bson:"employee_id"`
	Name         string `bson:"name"`
	ImageURL     string `bson:"image_url"`
	Remarks      string `bson:"remarks"`
	GreetingType string `bson:"greeting_type"`
	CreatedAt    string `bson:"created_at"`
}

type HRFeedback

type HRFeedback struct {
	IsAppericiationEmails bool   `bson:"is_appericiation_emails"`
	IsEscalationEmails    bool   `bson:"is_escalation_emails"`
	URL                   string `bson:"url"`
	Remarks               string `bson:"remarks"`
}

type HighLight

type HighLight struct {
	Title           string `bson:"title"`
	Description     string `bson:"description"`
	EmployeeRemarks string `bson:"employee_remarks"`
	ManagerRemarks  string `bson:"manager_remarks"`
}

type HiringAnalytics

type HiringAnalytics struct {
	Day            int              `bson:"day"`
	Month          int              `bson:"month"`
	Year           int              `bson:"year"`
	JoiningCount   int              `bson:"joining_count"`
	GenderWise     []GenderWise     `bson:"gender_wise"`
	DepartmentWise []DepartmentWise `bson:"department_wise"`
	ExperienceWise []ExperienceWise `bson:"experience_wise"`
	UpdatedAt      time.Time        `bson:"updated_at"`
	CreatedAt      time.Time        `bson:"created_at"`
}

type HolidayEntry

type HolidayEntry struct {
	SNo         string `json:"sno"`
	Date        string `json:"date"`
	Day         string `json:"day"`
	Holiday     string `json:"holiday"`
	HolidayType string `json:"holiday_type"`
}

type HourlyStats

type HourlyStats struct {
	Hour          int `bson:"hour"`
	CheckInCount  int `bson:"check_in_count"`
	CheckOutCount int `bson:"check_out_count"`
}

type InputType

type InputType int
const (
	Text InputType = iota + 1
	Binary
	StarRating
	SingleSelect
	MultiSelect
)

func InputTypeFromString

func InputTypeFromString(s string) InputType

func (InputType) EnumIndex

func (r InputType) EnumIndex() int

func (InputType) String

func (r InputType) String() string

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
	ClientShared
	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

type JobAppStatusIdx struct {
	State string
	Index int
}

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 JobApplicationErrorRecord

type JobApplicationErrorRecord struct {
	ID           primitive.ObjectID `bson:"_id"`
	Date         string             `bson:"date"`
	MessageId    string             `bson:"message_id"`
	Subject      string             `bson:"subject"`
	From         string             `bson:"from"`
	ErrorMessage string             `bson:"error_meesage"`
}

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 JobIdCounter struct {
	ID      primitive.ObjectID `bson:"_id"`
	Prefix  string             `bson:"prefix"`
	Counter int64              `bson:"counter"`
}

type JobStats

type JobStats struct {
	State   string
	Counter int64
}

type JobStatus

type JobStatus int
const (
	Created JobStatus = iota + 1
	Published
	Unpublished
	Deleted
)

func JobStatusEnumFromString

func JobStatusEnumFromString(s string) JobStatus

func (JobStatus) EnumIndex

func (a JobStatus) EnumIndex() int

func (JobStatus) String

func (a JobStatus) String() string

type KYCInfo

type KYCInfo struct {
	ID             primitive.ObjectID  `bson:"_id"`
	ClientId       string              `bson:"client_id"`
	Date           string              `bson:"date"`
	ClientContacts []ClientContactInfo `bson:"client_contacts"`
	PSContacts     []string            `bson:"ps_contacts"`
	Remarks        string              `bson:"remarks"`
	ActionItems    []string            `bson:"action_items"`
	ReminderDate   string              `bson:"reminder_date"`
	NextDate       string              `bson:"next_date"`
	Documents      []string            `bson:"documents"`
	CreatedBy      string              `bson:"created_by"`
	CreatedAt      time.Time           `bson:"created_at"`
	UpdatedAt      time.Time           `bson:"updated_at"`
}

type LAnalytics

type LAnalytics struct {
	ID                  primitive.ObjectID    `bson:"_id"`
	NextUpdateType      string                `bson:"next_update_type"`
	LiveAttendanceStats LiveAttendanceStats   `bson:"live_attendance_stats"`
	LiveLeaveStats      LiveLeaveStats        `bson:"live_leave_stats"`
	AttendanceAnalytics []AttendanceAnalytics `bson:"attendance_analytics"`
}

type Lead

type Lead struct {
	ID          primitive.ObjectID `bson:"_id"`
	Title       string             `bson:"title"`
	Description string             `bson:"description"`
	Name        string             `bson:"name"`
	EmailId     string             `bson:"email_Id"`
	PhoneNumber string             `bson:"reportee_phone_number"`
	CompanyName string             `bson:"company_name"`
	CompanySize string             `bson:"company_size"`
	Remarks     string             `bson:"remarks"`
	TicketId    string             `bson:"ticket_id"`
	CreatedAt   time.Time          `bson:"created_at"`
	UpdatedAt   time.Time          `bson:"updated_at"`
}

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"`
	WorkingDaysRemainingForActivation int32   `bson:"working_days_remaining_for_activation"`
	WorkingDaysRemainingForNextBatch  int32   `bson:"working_days_remaining_for_next_batch"`
	LeavesEligibleForEncashment       float32 `bson:"leaves_eligible_for_encashment"`
	LeavesEligibleForCarryForward     float32 `bson:"leaves_eligible_for_carry_forward"`
	LeavesEncashedLastYear            float32 `bson:"leaves_encashed_last_year"`
	LeavesCarryForwardLastYear        float32 `bson:"leaves_carry_forward_last_year"`
	LastYearEarnedPrivilegeLeave      float32 `bson:"last_year_earned_privilege_leave"`
}

type LiveAttendanceStats

type LiveAttendanceStats struct {
	Day                 int             `bson:"day"`
	Month               int             `bson:"month"`
	Year                int             `bson:"year"`
	Weekday             string          `bson:"weekday"`
	IsWorkingDay        bool            `bson:"is_working_day"`
	IsWeeklyOff         bool            `bson:"is_weekly_off"`
	IsHoliday           bool            `bson:"is_holiday"`
	TotalEmployees      int             `bson:"total_employees"`
	PresentCount        int             `bson:"present_count"`
	AbsentCount         int             `bson:"absent_count"`
	LeaveCount          int             `bson:"leave_count"`
	CheckInCount        int             `bson:"check_in_count"`
	CheckOutCount       int             `bson:"check_out_count"`
	AverageWorkingHours int             `bson:"average_working_hours"`
	HourlyStats         [24]HourlyStats `bson:"hourly_stats"`
	UpdatedAt           time.Time       `bson:"updated_at"`
	CreatedAt           time.Time       `bson:"created_at"`
}

type LiveLeaveStats

type LiveLeaveStats struct {
	Day           int       `bson:"day"`
	Month         int       `bson:"month"`
	Year          int       `bson:"year"`
	AppliedCount  int       `bson:"applied_count"`
	ApprovedCount int       `bson:"approved_count"`
	PendingCount  int       `bson:"pending_count"`
	RejectedCount int       `bson:"rejected_count"`
	ApprovalRate  int       `bson:"approval_rate"`
	RejectionRate int       `bson:"rejection_rate"`
	UpdatedAt     time.Time `bson:"updated_at"`
	CreatedAt     time.Time `bson:"created_at"`
}

type LocationWise

type LocationWise struct {
	City      string    `bson:"city"`
	State     string    `bson:"state"`
	Country   string    `bson:"country"`
	Count     int       `bson:"count"`
	UpdatedAt time.Time `bson:"updated_at"`
	CreatedAt time.Time `bson:"created_at"`
}

type Marque

type Marque struct {
	ID         primitive.ObjectID `bson:"_id"`
	MarqueType string             `bson:"marque_type"`
	Message    string             `bson:"message"`
	DateFrom   string             `bson:"date_from"`
	DateTo     string             `bson:"date_to"`
}

type MasterDonation

type MasterDonation struct {
	ID                    primitive.ObjectID   `bson:"_id"`
	DonationId            string               `bson:"donation_id"`
	Title                 string               `bson:"title"`
	Description           string               `bson:"description"`
	DonationMinAmount     float64              `bson:"donation_min_amount"`
	DonationMaxAmount     float64              `bson:"donation_max_amount"`
	IsFixedAmountDonation bool                 `bson:"is_fixed_amount_donation"`
	FixedDonationAmount   float64              `bson:"fixed_donation_amount"`
	IsTargetBasedDonation bool                 `bson:"is_target_based_donation"`
	TotalDonationAmount   float64              `bson:"total_donation_amount"`
	TotalDonors           int                  `bson:"total_donors"`
	TotalAmountPaid       float64              `bson:"total_amount_paid"`
	TotalAmountLeft       float64              `bson:"total_amount_left"`
	TotalAmountUsed       float64              `bson:"total_amount_used"`
	DonationCategory      string               `bson:"donation_category"`
	DonationSubCategory   string               `bson:"donation_sub_category"`
	DonationStatus        string               `bson:"donation_status"`
	AssociatedDoneeId     string               `bson:"associated_donee_id"`
	AssociatedDoneeName   string               `bson:"associated_donee_name"`
	AutoStopDonation      bool                 `bson:"auto_stop_donation"`
	Donations             []DonationPayment    `bson:"donations"`
	MontlyCollection      []DonationCollection `bson:"monthly_collection"`
	IsPublished           bool                 `bson:"is_published"`
	PublishDate           time.Time            `bson:"publish_date"`
	UnpublishDate         time.Time            `bson:"unpublish_date"`
	HeroImageURL          string               `bson:"hero_image_url"`
	ImageURLs             []string             `bson:"image_urls"`
	Rejex                 string               `bson:"rejex"`
	Remarks               string               `bson:"remarks"`
	CreatedAt             time.Time            `bson:"created_at"`
	UpdatedAt             time.Time            `bson:"updated_at"`
}

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 OrderEntity

type OrderEntity struct {
	ID         primitive.ObjectID `bson:"_id"`
	OrderId    string             `bson:"order_id"`
	Entity     string             `bson:"entity"`
	Amount     int                `bson:"amount"`
	AmountPaid int                `bson:"amount_paid"`
	AmountDue  int                `bson:"amount_due"`
	Currency   string             `bson:"currency"`
	Receipt    string             `bson:"receipt"`
	OfferID    string             `bson:"offer_id"`
	Status     string             `bson:"status"`
	Attempts   int                `bson:"attempts"`
	Notes      struct {
		PayeeID   string `bson:"payee_id"`
		InvoiceID string `bson:"invoice_id"`
	} `bson:"notes"`
	CreatedAt int64 `bson:"created_at"`
}

type OrderRequest

type OrderRequest struct {
	DonorId            string  `bson:"donor_id"`
	DonorName          string  `bson:"donor_name"`
	DonorEmail         string  `bson:"donor_email"`
	DonorPhoneNumber   string  `bson:"donor_mobile"`
	KeepIdentityHidden bool    `bson:"keep_identity_hidden"`
	DonationId         string  `bson:"donation_id"`
	DonationAmount     float64 `bson:"donation_amount"`
}

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 OrgEmployeeShifts

type OrgEmployeeShifts struct {
	ID                primitive.ObjectID `bson:"_id"`
	ShiftType         ShiftType          `bson:"shift_type"`
	Abbrivation       string             `bson:"abbrivation"`
	IsActive          bool               `bson:"is_active"`
	IsOverlappedShift bool               `bson:"is_overlapped_shift"`
	OrgCheckInTime    string             `bson:"org_check_in_time"`
	OrgCheckOutTime   string             `bson:"org_check_out_time"`
	Color             string             `bson:"color"`
	TextColor         string             `bson:"text_color"`
}

type OrgHoliday

type OrgHoliday struct {
	ID          primitive.ObjectID `bson:"_id"`
	OrgName     string             `bson:"org_name"`
	Day         string             `bson:"day"`
	Month       string             `bson:"month"`
	Year        string             `bson:"year"`
	Type        string             `bson:"type"`
	WeekDay     string             `bson:"week_day"`
	Description string             `bson:"description"`
}

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"`
	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 PaymentEntity

type PaymentEntity struct {
	ID             primitive.ObjectID `bson:"_id"`
	PaymentID      string             `bson:"payment_id"`
	Entity         string             `bson:"entity"`
	Amount         int                `bson:"amount"`
	Currency       string             `bson:"currency"`
	Status         string             `bson:"status"`
	OrderID        string             `bson:"order_id"`
	InvoiceID      string             `bson:"invoice_id"`
	International  bool               `bson:"international"`
	Method         string             `bson:"method"`
	AmountRefunded int                `bson:"amount_refunded"`
	RefundStatus   string             `bson:"refund_status"`
	Captured       bool               `bson:"captured"`
	Description    string             `bson:"description"`
	CardID         string             `bson:"card_id"`
	Bank           string             `bson:"bank"`
	Email          string             `bson:"email"`
	Wallet         string             `bson:"wallet"`
	VPA            string             `bson:"vpa"`
	Contact        string             `bson:"contact"`
	Notes          struct {
		PayeeID   string `bson:"payee_id"`
		InvoiceID string `bson:"invoice_id"`
	} `bson:"notes"`
	Fee          int    `bson:"fee"`
	Tax          int    `bson:"tax"`
	ErrorCode    string `bson:"error_code"`
	ErrorDesc    string `bson:"error_description"`
	ErrorSrc     string `bson:"error_source"`
	ErrorStep    string `bson:"error_step"`
	ErrorReason  string `bson:"error_reason"`
	AcquirerData struct {
		Code    string `bson:"code"`
		Message string `bson:"message"`
	} `bson:"acquirer_data"`
	CreatedAt int64 `bson:"created_at"`
}

type Policy

type Policy struct {
	ID             primitive.ObjectID `bson:"_id"`
	PolicyName     string             `bson:"policy_name"`
	PolicyDocument string             `bson:"policy_document"`
	UploadedAt     time.Time          `bson:"uploaded_at"`
	Views          []string           `bson:"views"`
}

type PolicyViewStats

type PolicyViewStats struct {
	ID         primitive.ObjectID `bson:"_id"`
	PolicyId   string             `bson:"policy_id"`
	PolicyName string             `bson:"policy_name"`
	EmployeeId string             `bson:"employee_id"`
	ViewedAt   time.Time          `bson:"viewed_at"`
}

type Poll

type Poll struct {
	ID                primitive.ObjectID `bson:"_id"`
	Title             string             `bson:"title"`
	Content           string             `bson:"content"`
	Options           []PollOption       `bson:"options"`
	Votes             []Vote             `bson:"votes"`
	VoteCount         int                `bson:"vote_count"`
	StartDateAndTime  time.Time          `bson:"start_date_and_time"`
	EndDateAndTime    time.Time          `bson:"end_date_and_time"`
	PostedBy          string             `bson:"posted_by"`
	PostedById        string             `bson:"posted_by_id"`
	IsPublished       bool               `bson:"is_published"`
	IsOpen            bool               `bson:"is_open"`
	IsClosed          bool               `bson:"is_closed"`
	ListDateAndTime   time.Time          `bson:"list_date_and_time"`
	UnlistDateAndTime time.Time          `bson:"unlist_date_and_time"`
	CreatedAt         time.Time          `bson:"created_at"`
	UpdatedAt         time.Time          `bson:"updated_at"`
	Remarks           string             `bson:"remarks"`
}

type PollOption

type PollOption struct {
	Option    string `bson:"option"`
	OptionId  string `bson:"option_id"`
	VoteCount int    `bson:"vote_count"`
}

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"`
	PostedById        string             `bson:"posted_by_id"`
	IsEmpty           bool               `bson:"is_empty"`
	Designation       string             `bson:"designation"`
	IsPublished       bool               `bson:"is_published"`
	ListDateAndTime   time.Time          `bson:"list_date_and_time"`
	UnlistDateAndTime time.Time          `bson:"unlist_date_and_time"`
	GreetingsCount    int64              `bson:"greetings_count"`
	Greetings         []Greeting         `bson:"greetings"`
	CreatedAt         time.Time          `bson:"created_at"`
	UpdatedAt         time.Time          `bson:"updated_at"`
}

type Project

type Project struct {
	ProjectName             string    `bson:"project_name"`
	ProjectType             string    `bson:"project_type"`
	IsCurrentProject        bool      `bson:"is_current_project"`
	IsBillable              bool      `bson:"is_billable"`
	StartDate               time.Time `bson:"start_date"`
	EndDate                 time.Time `bson:"end_date"`
	Description             string    `bson:"description"`
	RoleAndResponsibilities string    `bson:"role_and_responsibilities"`
	CompanyName             string    `bson:"company_name"`
	ClientName              string    `bson:"client_name"`
	ClientManagerName       string    `bson:"client_manager_name"`
	ClientLeadName          string    `bson:"client_lead_name"`
	Skills                  []string  `bson:"s_skills"`
	URL                     string    `bson:"url"`
}

type ProjectInfo

type ProjectInfo struct {
	ID                      primitive.ObjectID `bson:"_id"`
	ClientId                string             `bson:"client_id"`
	ProjectId               string             `bson:"project_id"`
	ProjectName             string             `bson:"project_name"`
	ProjectType             string             `bson:"project_type"`
	ProjectStatus           string             `bson:"project_status"`
	IsExternalProject       bool               `bson:"is_external_project"`
	IsBillable              bool               `bson:"is_billable"`
	IsRemoteWorking         bool               `bson:"is_remote_working"`
	StartDate               string             `bson:"start_date"`
	EndDate                 string             `bson:"end_date"`
	ProjectHead             string             `bson:"project_head"`
	ProjectHeadEmail        string             `bson:"project_head_email"`
	ProjectCoordinator      string             `bson:"project_coordinator"`
	ProjectCoordinatorEmail string             `bson:"project_coordinator_email"`
	ProjectWorkLocation     string             `bson:"project_work_location"`
	ProjectWorkAddresses    []Address          `bson:"project_work_addresses"`
	ProjectDescription      string             `bson:"project_description"`
	ProjectRemarks          string             `bson:"project_remarks"`
	ProjectHolidayList      []string           `bson:"project_holiday_list"`
	ProjectDailyWorkingHour string             `bson:"project_daily_working_hour"`
	ProjectWeeklyOffDay     string             `bson:"project_weekly_off_day"`
	ShiftTypes              []ShiftType        `bson:"shift_types"`
	CreatedBy               string             `bson:"created_by"`
	CreatedAt               time.Time          `bson:"created_at"`
	UpdatedAt               time.Time          `bson:"updated_at"`
}

type ProjectShifts

type ProjectShifts struct {
	ID                primitive.ObjectID `bson:"_id"`
	ProjectId         string             `bson:"project_id"`
	ShiftType         ShiftType          `bson:"shift_type"`
	Abbrivation       string             `bson:"abbrivation"`
	IsActive          bool               `bson:"is_active"`
	IsOverlappedShift bool               `bson:"is_overlapped_shift"`
	OrgCheckInTime    string             `bson:"org_check_in_time"`
	OrgCheckOutTime   string             `bson:"org_check_out_time"`
	Color             string             `bson:"color"`
	TextColor         string             `bson:"text_color"`
}

type ProjectTeamMember

type ProjectTeamMember struct {
	ID                         primitive.ObjectID `bson:"_id"`
	ProjectId                  string             `bson:"project_id"`
	EmployeeId                 string             `bson:"employee_id"`
	EmployeeName               string             `bson:"employee_name"`
	EmployeeStatus             string             `bson:"employee_status"`
	EmployeeJoiningDate        string             `bson:"employee_joining_date"`
	EmployeeReleavingDate      string             `bson:"employee_releaving_date"`
	EmployeeProjectEmail       string             `bson:"employee_project_email"`
	EmployeeProjectDesignation string             `bson:"employee_project_designation"`
	EmployeeProjectDepartment  string             `bson:"employee_project_department"`
	EmployeeWorkLocation       string             `bson:"employee_work_location"`
	EmployeeWorkAddress        Address            `bson:"employee_work_address"`
	ProjectManager             string             `bson:"project_manager"`
	ProjectManagerEmail        string             `bson:"project_manager_email"`
	ReportingManager           string             `bson:"reporting_manager"`
	ReportingManagerEmail      string             `bson:"reporting_manager_email"`
	IsBillable                 bool               `bson:"is_billable"`
	IsRotationalShift          bool               `bson:"is_rotational_shift"`
	IsRemoteWorking            bool               `bson:"is_remote_working"`
	ShiftType                  ShiftType          `bson:"shift_type"`
	CreatedBy                  string             `bson:"created_by"`
	CreatedAt                  time.Time          `bson:"created_at"`
	UpdatedAt                  time.Time          `bson:"updated_at"`
}

type Query

type Query struct {
	Title     string `bson:"title"`
	SLAInDays int64  `bson:"sla_in_days"`
	Remarks   string `bson:"remarks"`
}

type QuestionAnswer

type QuestionAnswer struct {
	Domain              string    `bson:"domain"`
	Department          string    `bson:"department"`
	Designation         string    `bson:"designation"`
	EmployeeId          string    `bson:"employee_id"`
	Title               string    `bson:"title"`
	Description         string    `bson:"description"`
	IsMandatory         bool      `bson:"is_mandatory"`
	InputType           InputType `bson:"input_type"`
	MinimumScore        string    `bson:"minimum_score"`
	MaximumScore        string    `bson:"maximum_score"`
	EmployeeScore       string    `bson:"employee_score"`
	ManagerScore        string    `bson:"manager_score"`
	MultiSelectOptions  []string  `bson:"multi_select_options"`
	SingleSelectOptions []string  `bson:"single_select_options"`
	BinaryOptions       []string  `bson:"binary_options"`
	SelectedOptions     []string  `bson:"selected_options"`
	EmployeeRemarks     string    `bson:"employee_remarks"`
	ManagerRemarks      string    `bson:"manager_remarks"`
}

type Rating

type Rating struct {
	Title           string `bson:"title"`
	Description     string `bson:"description"`
	MinimumScore    string `bson:"minimum_score"`
	MaximumScore    string `bson:"maximum_score"`
	EmployeeScore   string `bson:"employee_score"`
	ManagerScore    string `bson:"manager_score"`
	EmployeeRemarks string `bson:"employee_remarks"`
	ManagerRemarks  string `bson:"manager_remarks"`
}

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 RecruiterInfo struct {
	Id   string `bson:"id"`
	Name string `bson:"name"`
}

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 RemarksInfo

type RemarksInfo struct {
	EmployeeId   string `bson:"employee_id"`
	EmployeeName string `bson:"employee_name"`
	DateTime     string `bson:"date_time"`
	Remark       string `bson:"remark"`
}

type RequestVerification

type RequestVerification struct {
	VerificationMode      string    `bson:"verification_mode"`
	VerifierId            string    `bson:"verifier_id"`
	VerifierName          string    `bson:"verifier_name"`
	VerifierPhoneNumber   string    `bson:"verifier_phone_number"`
	VerificationStartDate time.Time `bson:"verification_start_date"`
	VerificationEndDate   time.Time `bson:"verification_end_date"`
	VerificationStatus    string    `bson:"verification_status"`
	IsVerificationPassed  bool      `bson:"is_verification_passed"`
	VerificationRemarks   string    `bson:"verification_remarks"`
}

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 Role

type Role int
const (
	Superadmin Role = iota + 1
	OrgAdmin
	OrgManager
	Recruiter
	Manager
	TeamLead
	TeamMember
	Candidate
	Volunteer
	GSDonor
	Anonymous
)

func RoleEnumFromString

func RoleEnumFromString(s string) Role

func (Role) EnumIndex

func (r Role) EnumIndex() int

func (Role) String

func (r Role) String() string

type ScholarshipReferrerInfo

type ScholarshipReferrerInfo struct {
	Name                    string `bson:"name"`
	PhoneNumber             string `bson:"phone_number"`
	Email                   string `bson:"email"`
	HowReferrerKnowsStudent string `bson:"how_referrer_knows_student"`
	KeepIdentityHidden      bool   `bson:"keep_identity_hidden"`
	Remarks                 string `bson:"remarks"`
}

type ScholarshipState

type ScholarshipState int
const (
	DataCollection ScholarshipState = iota + 1
	Verification
	PrimaryApproval
	SecondaryApproval
	ReadyToPublish
	PublishedForDonation
	DonationReceived
	Disbursement
	Closed
)

func ScholarshipStateEnumFromString

func ScholarshipStateEnumFromString(s string) ScholarshipState

func (ScholarshipState) EnumIndex

func (r ScholarshipState) EnumIndex() int

func (ScholarshipState) String

func (r ScholarshipState) String() string

type SeparationDocument

type SeparationDocument struct {
	DocumentName string `bson:"document_name"`
	DocumentURL  string `bson:"document_url"`
}

type SeparationInfo

type SeparationInfo struct {
	ResignationDate                   string               `bson:"resignation_date"`
	ResignationStatus                 string               `bson:"resignation_status"`
	EmployeeRemarks                   string               `bson:"employee_remarks"`
	ReportingManagerRemarks           string               `bson:"reporting_manager_remarks"`
	HRRemarks                         string               `bson:"hr_remarks"`
	PrimaryApproverId                 string               `bson:"primary_approver_id"`
	PrimaryApproverName               string               `bson:"primary_approver_name"`
	IsAcceptedByPrimaryApprover       bool                 `bson:"is_accepted_by_primary_approver"`
	PrimaryApproverAcceptanceDate     string               `bson:"primary_approver_acceptance_date"`
	SecondaryApproverId               string               `bson:"secondary_approver_id"`
	SecondaryApproverName             string               `bson:"secondary_approver_name"`
	SecondaryApproverAcceptanceDate   string               `bson:"secondary_approver_acceptance_date"`
	IsAcceptedBySecondaryApprover     bool                 `bson:"is_accepted_by_secondary_approver"`
	ResignationAcceptanceDate         string               `bson:"resignation_acceptance_date"`
	KnowledgeTransferStartDate        string               `bson:"knowledge_transfer_start_date"`
	KnowledgeTransferEndDate          string               `bson:"knowledge_transfer_end_date"`
	IsKnowledgeTransferCompleted      bool                 `bson:"is_knowledge_transfer_completed"`
	KnowledgeTransferStatus           string               `bson:"knowledge_transfer_status"`
	KnowledgeTransferOwnerId          string               `bson:"knowledge_transfer_owner_id"`
	KnowledgeTransferOwnerName        string               `bson:"knowledge_transfer_owner_name"`
	KnowledgeTransferOwnerDesignation string               `bson:"knowledge_transfer_owner_designation"`
	KnowledgeTransferOwnerRemarks     string               `bson:"knowledge_transfer_owner_remarks"`
	IsNoticePeriodServed              bool                 `bson:"is_notice_period_served"`
	NoticePeriodStartDate             string               `bson:"notice_period_start_date"`
	NoticePeriodEndDate               string               `bson:"notice_period_end_date"`
	IsNoticePeriodExtended            bool                 `bson:"is_notice_period_extended"`
	NoticePeriodExtensionDate         string               `bson:"notice_period_extension_date"`
	IsNoticePeriodBuyoutRequested     bool                 `bson:"is_notice_period_buyout_requested"`
	NoticePeriodBuyoutDays            string               `bson:"notice_period_buyout_days"`
	NoticePeriodBuyoutStatus          string               `bson:"notice_period_buyout_staus"`
	NoticePeriodBuyoutRemarks         string               `bson:"notice_period_buyout_remarks"`
	NoticePeriodBuyoutAcceptanceDate  string               `bson:"notice_period_buyout_acceptance_date"`
	NoticePeriodBuyoutRejectionDate   string               `bson:"notice_period_buyout_rejection_date"`
	NoticePeriodBuyoutAcceptedBy      string               `bson:"notice_period_buyout_accepted_by"`
	NoticePeriodBuyoutRejectedBy      string               `bson:"notice_period_buyout_rejected_by"`
	IsExitInterviewScheduled          bool                 `bson:"is_exit_interview_scheduled"`
	ExitInterviewDate                 string               `bson:"exit_interview_date"`
	ExitInterviewerId                 string               `bson:"exit_interviewer_id"`
	ExitInterviewerName               string               `bson:"exit_interviewer_name"`
	ExitInterviewEmployeeRemarks      string               `bson:"exit_interview_employee_remarks"`
	ExitInterviewerRemarks            string               `bson:"exit_interviewer_remarks"`
	SeparationDocuments               []SeparationDocument `bson:"separation_documents"`
	RetentionRequestDate              string               `bson:"resignation_request_date"`
	EmployeeRetentionRemarks          string               `bson:"employee_retention_remarks"`
	ReportingManagerRetentionRemarks  string               `bson:"reporting_manager_retention_remarks"`
	HRRetentionRemarks                string               `bson:"hr_retention_remarks"`
	IsRetentionAcceptedByHR           bool                 `bson:"is_retention_accepted_by_hr"`
	RetentionAcceptanceDate           string               `bson:"retention_acceptance_date"`
	ExitDate                          string               `bson:"exit_date"`
}

type ShiftType

type ShiftType int
const (
	Regular ShiftType = iota + 1
	Morning
	Evening
	Night
	WeeklyOff
	Holiday
)

func ShiftTypeFromString

func ShiftTypeFromString(s string) ShiftType

func (ShiftType) EnumIndex

func (r ShiftType) EnumIndex() int

func (ShiftType) String

func (r ShiftType) String() string

type SkillWise

type SkillWise struct {
	SkillName string    `bson:"skill_name"`
	Count     int       `bson:"count"`
	UpdatedAt time.Time `bson:"updated_at"`
	CreatedAt time.Time `bson:"created_at"`
}

type StatusCount

type StatusCount struct {
	Status string `bson:"status"`
	Count  int    `bson:"count"`
}

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 StudentAcademicInfo

type StudentAcademicInfo struct {
	AdmissionNumber            string         `bson:"admission_number"`
	Class                      string         `bson:"academic_class"`
	Section                    string         `bson:"academic_section"`
	RollNumber                 string         `bson:"academic_roll_number"`
	Stream                     string         `bson:"academic_stream"`
	Medium                     string         `bson:"academic_medium"`
	Board                      string         `bson:"academic_board"`
	AidRequiredForAcademicYear string         `bson:"aid_required_for_acadmic_year"`
	SchoolName                 string         `bson:"academic_school_name"`
	SchoolType                 string         `bson:"academic_school_type"`
	Documents                  []DocumentInfo `bson:"academic_documents"`
	DocumentCompletionStatus   string         `bson:"academic_document_completion_status"`
	DocumentCompletionDate     time.Time      `bson:"academic_document_completion_date"`
	IsVerified                 bool           `bson:"is_verified"`
	VerifiedBy                 string         `bson:"verified_by"`
	VerifiedOn                 time.Time      `bson:"verified_at"`
	VerificationMode           string         `bson:"verification_mode"`
	VerificationStatus         string         `bson:"verification_status"`
	IsVerificationPassed       bool           `bson:"is_verification_passed"`
	VerificationRemarks        string         `bson:"verification_remarks"`
	CreatedAt                  time.Time      `bson:"created_at"`
	UpdatedAt                  time.Time      `bson:"updated_at"`
}

type StudentFeeInfo

type StudentFeeInfo struct {
	MonthlyTotalFee       float64   `bson:"monthly_total_fee"`
	FeePaymentCycle       string    `bson:"fee_payment_cycle"`
	FeePaymentLastDate    string    `bson:"fee_payment_last_date"`
	BankAccountHolderName string    `bson:"bank_account_holder_name"`
	BankName              string    `bson:"bank_name"`
	BankAccountNumber     string    `bson:"bank_account_number"`
	BankIFSC              string    `bson:"ifsc"`
	CancelledChequeURL    string    `bson:"cancelled_cheque_url"`
	IsVerified            bool      `bson:"is_verified"`
	VerifiedBy            string    `bson:"verified_by"`
	VerifiedOn            time.Time `bson:"verified_at"`
	VerificationMode      string    `bson:"verification_mode"`
	VerificationStatus    string    `bson:"verification_status"`
	IsVerificationPassed  bool      `bson:"is_verification_passed"`
	VerificationRemarks   string    `bson:"verification_remarks"`
}

type StudentIdCounter

type StudentIdCounter struct {
	ID      primitive.ObjectID `bson:"_id"`
	Prefix  string             `bson:"prefix"`
	Counter int64              `bson:"counter"`
}

type StudentPersonalInfo

type StudentPersonalInfo struct {
	StudentName                      string         `bson:"student_name"`
	Gender                           string         `bson:"gender"`
	DOB                              string         `bson:"dob"`
	IsOrphan                         bool           `bson:"is_orphan"`
	IsSemiOrphan                     bool           `bson:"is_semi_orphan"`
	IsParentDisabled                 bool           `bson:"is_parent_disabled"`
	ParentDisability                 string         `bson:"parent_disability"`
	GuardianName                     string         `bson:"guardian_name"`
	GuardianPhoneNumber              string         `bson:"guardian_phone_number"`
	Address                          Address        `bson:"address"`
	GuardianRelation                 string         `bson:"guardian_relation"`
	PersonalDocuments                []DocumentInfo `bson:"personal_documents"`
	PersonalDocumentCompletionStatus string         `bson:"personal_document_completion_status"`
	PersonalDocumentCompletionDate   time.Time      `bson:"personal_document_completion_date"`
	IsSocialMediaConsentGiven        bool           `bson:"is_social_media_consent_given"`
	IsVerified                       bool           `bson:"is_verified"`
	VerifiedBy                       string         `bson:"verified_by"`
	VerifiedOn                       time.Time      `bson:"verified_at"`
	VerificationMode                 string         `bson:"verification_mode"`
	VerificationStatus               string         `bson:"verification_status"`
	IsVerificationPassed             bool           `bson:"is_verification_passed"`
	VerificationRemarks              string         `bson:"verification_remarks"`
}

type StudentScholarshipRequest

type StudentScholarshipRequest struct {
	ID                                 primitive.ObjectID      `bson:"_id"`
	StudentId                          string                  `bson:"student_id"`
	RequestStatus                      string                  `bson:"request_status"`
	StudentPersonalInfo                StudentPersonalInfo     `bson:"student_personal_info"`
	ReferrerInfo                       ScholarshipReferrerInfo `bson:"referrer_info"`
	StudentAcademicInfo                StudentAcademicInfo     `bson:"student_academic_info"`
	StudentFeeInfo                     StudentFeeInfo          `bson:"student_fee_info"`
	StudentSchoolInfo                  StudentSchoolInfo       `bson:"student_school_info"`
	VerificationInfo                   RequestVerification     `bson:"verification_info"`
	CaseOfficerId                      string                  `bson:"case_officer_id"`
	CaseOfficerName                    string                  `bson:"case_officer_name"`
	CaseOfficerRemarks                 string                  `bson:"case_officer_remarks"`
	IsRequestActive                    bool                    `bson:"is_request_active"`
	RequestClosureDate                 time.Time               `bson:"request_closure_date"`
	ManagementPrimaryApproverId        string                  `bson:"management_primary_approver_id"`
	ManagementPrimaryApproverName      string                  `bson:"management_primary_approver_name"`
	ManagementPrimaryApproverRemarks   string                  `bson:"management_primary_approver_remarks"`
	IsApprovedByPrimaryApprover        bool                    `bson:"is_approved_by_primary_approver"`
	PrimaryApprovalDate                time.Time               `bson:"primary_approval_date"`
	IsBothApproverRequired             bool                    `bson:"is_both_approver_required"`
	ManagementSecondaryApproverId      string                  `bson:"management_secondary_approver_id"`
	ManagementSecondaryApproverName    string                  `bson:"management_secondary_approver_name"`
	IsApprovedBySecondaryApprover      bool                    `bson:"is_approved_by_secondary_approver"`
	ManagementSecondaryApproverRemarks string                  `bson:"management_secondary_approver_remarks"`
	SecondaryApprovalDate              time.Time               `bson:"secondary_approval_date"`
	RegexText                          string                  `bson:"regex_text"`
	CreatedAt                          time.Time               `bson:"created_at"`
	UpdatedAt                          time.Time               `bson:"updated_at"`
}

type StudentSchoolInfo

type StudentSchoolInfo struct {
	Name                 string    `bson:"name"`
	Type                 string    `bson:"type"`
	ContactName          string    `bson:"contact_name"`
	ContactDesignation   string    `bson:"contact_designation"`
	ContactPhone         string    `bson:"contact_phone"`
	ContactEmail         string    `bson:"contact_email"`
	Address              Address   `bson:"address"`
	PrincipalName        string    `bson:"principal_name"`
	PrincipalPhone       string    `bson:"principal_phone"`
	PrincipalEmail       string    `bson:"principal_email"`
	PrincipalRemarks     string    `bson:"principal_remarks"`
	Remarks              string    `bson:"remarks"`
	Website              string    `bson:"website"`
	IsVerified           bool      `bson:"is_verified"`
	VerifiedBy           string    `bson:"verified_by"`
	VerifiedOn           time.Time `bson:"verified_at"`
	VerificationMode     string    `bson:"verification_mode"`
	VerificationStatus   string    `bson:"verification_status"`
	IsVerificationPassed bool      `bson:"is_verification_passed"`
	VerificationRemarks  string    `bson:"verification_remarks"`
	Regex                string    `bson:"regex"`
}

type Subscription

type Subscription struct {
	ID                   primitive.ObjectID       `bson:"_id"`
	MasterDonationId     string                   `bson:"master_donation_id"`
	SubscriptionId       string                   `bson:"subscription_id"`
	SubscriptionType     string                   `bson:"subscription_type"`
	StartDate            time.Time                `bson:"start_date"`
	EndDate              time.Time                `bson:"end_date"`
	MonthlyAmount        float64                  `bson:"monthly_amount"`
	TotalAmount          float64                  `bson:"total_amount"`
	TotalMonths          int                      `bson:"total_months"`
	TotalAmountPaid      float64                  `bson:"total_amount_paid"`
	TotalMonthsPaid      int                      `bson:"total_months_paid"`
	TotalAmountLeft      float64                  `bson:"total_amount_left"`
	TotalMonthsLeft      int                      `bson:"total_months_left"`
	TotalAmountUsed      float64                  `bson:"total_amount_used"`
	TotalMonthsUsed      int                      `bson:"total_months_used"`
	NumberOfStudents     int                      `bson:"number_of_students"`
	PrefferedPaymentDate string                   `bson:"preffered_payment_date"`
	IsAutoRenewal        bool                     `bson:"is_auto_renewal"`
	IsActive             bool                     `bson:"is_active"`
	PaymentMode          string                   `bson:"payment_mode"`
	PaymentHistory       []DonationPaymentHistory `bson:"payment_history"`
	SubscriptionStatus   string                   `bson:"subscription_status"`
	Remarks              string                   `bson:"remarks"`
	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"`
	GoogleRefreshToken string             `bson:"google_refresh_token"`
	CreatedBy          string             `bson:"created_by"`
	CreatedAt          time.Time          `bson:"created_at"`
	UpdatedAt          time.Time          `bson:"updated_at"`
}

type TenantDomain

type TenantDomain struct {
	ID     primitive.ObjectID `bson:"_id"`
	Domain string             `bson:"domain"`
}

type TenureWise

type TenureWise struct {
	TenureGroup string    `bson:"tenure_group"`
	Count       int       `bson:"count"`
	UpdatedAt   time.Time `bson:"updated_at"`
	CreatedAt   time.Time `bson:"created_at"`
}

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"`
	Department           string             `bson:"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:"department_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_reminders"`
	SendFeedbackReminderAfterDays int64              `bson:"send_feedback_reminder_after_days"`
	CreatedAt                     time.Time          `bson:"created_at"`
	UpdatedAt                     time.Time          `bson:"updated_at"`
}

type TicketIdCounter

type TicketIdCounter struct {
	ID      primitive.ObjectID `bson:"_id"`
	Prefix  string             `bson:"prefix"`
	Counter int64              `bson:"counter"`
}

type TimeLineInfo

type TimeLineInfo struct {
	Date    string `bson:"date"`
	Time    string `bson:"time"`
	Remarks string `bson:"remarks"`
	Name    string `bson:"name"`
}

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"`
}

type UnirmsOrderRequest

type UnirmsOrderRequest struct {
	PayeeId          string  `bson:"payee_id"`
	PayeeName        string  `bson:"payee_name"`
	PayeeEmail       string  `bson:"payee_email"`
	PayeePhoneNumber string  `bson:"payee_phone_number"`
	InvoiceId        string  `bson:"invoice_id"`
	Amount           float64 `bson:"amount"`
}

type VolunteerIdCounter

type VolunteerIdCounter struct {
	ID                 primitive.ObjectID `bson:"_id"`
	IsTemporaryCounter bool               `bson:"is_temporary_counter"`
	Prefix             string             `bson:"prefix"`
	Counter            int64              `bson:"counter"`
}

type VolunteerInfo

type VolunteerInfo struct {
	ID                           primitive.ObjectID `bson:"_id"`
	VolunteerId                  string             `bson:"volunteer_id"`
	FullName                     string             `bson:"full_name"`
	FatherName                   string             `bson:"father_name"`
	About                        string             `bson:"about"`
	Gender                       string             `bson:"gender"`
	DOB                          string             `bson:"dob"`
	PhoneNumber                  string             `bson:"phone_number"`
	PhoneNumberVerified          bool               `bson:"phone_number_verified"`
	EmailId                      string             `bson:"email_id"`
	EmailIdVerified              bool               `bson:"email_id_verified"`
	Profession                   string             `bson:"profession"`
	Address                      Address            `bson:"address"`
	PersonalIdNumber             string             `bson:"personal_id_number"`
	PersonalIdType               string             `bson:"personal_id_type"`
	PersonalIdURL                string             `bson:"personal_id_url"`
	IsPreviouslyVolunteered      bool               `bson:"is_previously_volunteered"`
	PreviousVolunteerExperiences []Experience       `bson:"previous_volunteer_experiences"`
	VolunteerIntrestAreas        []string           `bson:"volunteer_intrest_areas"`
	VolunteerStatus              string             `bson:"volunteer_status"`
	Remarks                      string             `bson:"remarks"`
	VolunteerAvailability        [7]Availability    `bson:"volunteer_availability"`
	JoiningDate                  string             `bson:"joining_date"`
	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 VolunteerRequest

type VolunteerRequest struct {
	ID                           primitive.ObjectID `bson:"_id"`
	RequestId                    string             `bson:"request_id"`
	FullName                     string             `bson:"full_name"`
	FatherName                   string             `bson:"father_name"`
	Gender                       string             `bson:"gender"`
	DOB                          string             `bson:"dob"`
	PhoneNumber                  string             `bson:"phone_number"`
	PhoneNumberVerified          bool               `bson:"phone_number_verified"`
	EmailId                      string             `bson:"email_id"`
	EmailIdVerified              bool               `bson:"email_id_verified"`
	Profession                   string             `bson:"profession"`
	Address                      Address            `bson:"address"`
	PersonalIdNumber             string             `bson:"personal_id_number"`
	PersonalIdType               string             `bson:"personal_id_type"`
	PersonalIdURL                string             `bson:"personal_id_url"`
	IsPreviouslyVolunteered      bool               `bson:"is_previously_volunteered"`
	PreviousVolunteerExperiences []Experience       `bson:"previous_volunteer_experiences"`
	VolunteerIntrestAreas        []string           `bson:"volunteer_intrest_areas"`
	VolunteerAvailability        [7]Availability    `bson:"volunteer_availability"`
	RequestDate                  string             `bson:"request_date"`
	RequestStatus                string             `bson:"request_status"`
	ReviewerId                   string             `bson:"reviewer_id"`
	ReviewerName                 string             `bson:"reviewer_name"`
	ReviewerRemarks              string             `bson:"reviewer_remarks"`
	ImgURL                       string             `bson:"img_url"`
	RegexText                    string             `bson:"regex_text"`
	CreatedAt                    time.Time          `bson:"created_at"`
	UpdatedAt                    time.Time          `bson:"updated_at"`
}

type Vote

type Vote struct {
	EmployeeId  string    `bson:"employee_id"`
	Option      string    `bson:"option"`
	OptionId    string    `bson:"option_id"`
	DateAndTime time.Time `bson:"date_and_time"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL