Documentation
¶
Index ¶
- Variables
- func AuthandPermission(jobs *Jobs) error
- func HashingPassword(pass string) string
- type ApplicantDetails
- type Config
- type CreateApplicantReq
- type CreateJobReq
- type Filter
- type Jobs
- func (Ap *Jobs) ApplicantsList(limit, offset int, filter Filter) (applicants []TblJobsApplicants, count int64, err error)
- func (Ap *Jobs) ChangeApplicantStatus(jobid int, applicantid int, status string) error
- func (jobs *Jobs) CheckAlreadyRegistered(jobId int, emailId string) (count int64, err error)
- func (Ap *Jobs) CreateApplicant(ap CreateApplicantReq) error
- func (Ap *Jobs) CreateJob(Jc CreateJobReq) error
- func (jobs *Jobs) CreateJobApplication(applicationData ApplicantDetails) error
- func (Ap *Jobs) DeleteApplicant(memberid int, userid int) error
- func (Ap *Jobs) DeleteJob(id int, userid int) error
- func (Ap *Jobs) GetApplicantById(id int) (ap TblJobsApplicants, err error)
- func (jobs *Jobs) GetApplicantDetails(jobId, memberId int, emailId string) (applicantDetails ApplicantDetails, err error)
- func (Ap *Jobs) GetApplicantJobs(ApplicantId int, limit int, offset int) (applicantjobs []TblJobsRegisters, Totaljobs int64, err error)
- func (Ap *Jobs) GetJobApplicant(id int, limit, offset int, filter Filter) (app []TblJobs, Totalapplicants int64, err error)
- func (Ap *Jobs) GetJobById(id int) (job TblJobs, err error)
- func (jobs *Jobs) GetJobDetails(id int, jobSlug string) (jobDetail TblJobs, err error)
- func (jobs *Jobs) GetJobsList(limit int, offset int, filter Filter) (jobsList []TblJobs, count int64, err error)
- func (Ap *Jobs) JobsList(limit, offset int, filter Filter) (job []TblJobs, count int64, err error)
- func (Ap *Jobs) MultiSelectApplicantStatus(memberid []int, status int, modifiedby int) (bool, error)
- func (Ap *Jobs) MultiSelectJobsStatus(memberid []int, status int, modifiedby int) (bool, error)
- func (Ap *Jobs) MultiSelectedApplicantDelete(applicantids []int, modifiedby int) (bool, error)
- func (Ap *Jobs) MultiSelectedJobDelete(jobids []int, modifiedby int) (bool, error)
- func (Ap *Jobs) UpdateApplicant(ap CreateApplicantReq, memberid int) error
- func (Ap *Jobs) UpdateJob(Jc CreateJobReq) error
- type JobsListReq
- type JobsModel
- func (jobsmodel JobsModel) ApplicantCreate(applicant TblJobsApplicants, DB *gorm.DB) error
- func (jobmodel JobsModel) ApplicantDelete(applicant TblJobsApplicants, DB *gorm.DB) error
- func (jobsmodel JobsModel) ApplicantUpdate(applicant *TblJobsApplicants, DB *gorm.DB) error
- func (jobsmodel JobsModel) ApplicantsList(limit int, offset int, filter Filter, DB *gorm.DB) (applicant []TblJobsApplicants, Totalapplicants int64, err error)
- func (jobsmodel JobsModel) ChangeApplicantStatus(jobid int, applicantid int, status string, DB *gorm.DB) error
- func (jobsModel JobsModel) CheckAlreadyRegistered(jobId int, emailId string, DB *gorm.DB) (count int64, err error)
- func (jobsModel JobsModel) CreateJobApplication(applicationData ApplicantDetails, DB *gorm.DB) error
- func (jobsmodel JobsModel) GetApplicantById(id int, DB *gorm.DB) (applicant TblJobsApplicants, err error)
- func (jobsModel JobsModel) GetApplicantDetails(jobId, memberId int, emailId string, DB *gorm.DB) (applicantDetails ApplicantDetails, err error)
- func (jobmodel JobsModel) GetApplicantJobs(applicantid int, limit int, offset int, DB *gorm.DB) (applicantjobs []TblJobsRegisters, Totaljobs int64, err error)
- func (jobsmodel JobsModel) GetJobApplicantByJobId(id int, limit int, offset int, filter Filter, DB *gorm.DB) (applicant []TblJobs, Totalapplicants int64, err error)
- func (jobsModel JobsModel) GetJobDetails(id int, jobSlug string, DB *gorm.DB) (jobDetail TblJobs, err error)
- func (jobsModel JobsModel) GetJobsList(limit int, offset int, filter Filter, DB *gorm.DB) (jobsList []TblJobs, count int64, err error)
- func (jobsmodel JobsModel) JobCreate(job *TblJobs, DB *gorm.DB) error
- func (jobsmodel JobsModel) JobDelete(job *TblJobs, DB *gorm.DB) error
- func (jobsmodel JobsModel) JobDetailsById(jobs *TblJobs, id int, DB *gorm.DB) error
- func (jobsmodel JobsModel) JobUpdate(job *TblJobs, DB *gorm.DB) error
- func (jobsmodel JobsModel) JobsList(limit int, offset int, filter Filter, DB *gorm.DB) (job []TblJobs, Totaljob int64, err error)
- func (jobsmodel JobsModel) MultiApplicantIsActive(applicant *TblJobsApplicants, jobid []int, status int, DB *gorm.DB) error
- func (jobsmodel JobsModel) MultiJobsIsActive(job *TblJobs, jobid []int, status int, DB *gorm.DB) error
- func (jobsmodel JobsModel) MultiSelectedApplicantDelete(applicant *TblJobsApplicants, id []int, DB *gorm.DB) error
- func (jobsmodel JobsModel) MultiSelectedJobDelete(job *TblJobs, id []int, DB *gorm.DB) error
- type TblJobs
- type TblJobsApplicants
- type TblJobsDepartment
- type TblJobsEducation
- type TblJobsRegisters
- type Type
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AuthandPermission ¶
func HashingPassword ¶
Types ¶
type ApplicantDetails ¶ added in v0.0.13
type ApplicantDetails struct {
ID int
JobID int
ApplicantID int
Name string
EmailID string
MobileNo string
JobType string
Gender string
Location string
Education string
Graduation int
CompanyName string
Experience int
Skills string
ImagePath string
Image string
CreatedOn time.Time
CreatedBy int
ModifiedOn time.Time
ModifiedBy int
IsDeleted int
DeletedOn time.Time
DeletedBy int
CurrentSalary int
ExpectedSalary int
Status int
ResumePath string
ResumeName string
StorageType string
}
type CreateApplicantReq ¶
type CreateApplicantReq struct {
Id int
MemberId int
Name string
EmailId string
MobileNo string
JobType string
Location string
Education string
Graduation int
CompanyName string
Experience int
Skills string
ImagePath string
Image string
CreatedBy int
ModifiedBy int
DeletedBy int
CurrentSalary int
ExpectedSalary int
Status int
Password string
StorageType string
}
type CreateJobReq ¶
type CreateJobReq struct {
Id int
CategoriesId int
JobTitle string
JobSlug string
JobDescription string
JobLocation string
JobType string
Education string
Department string
Experience string
Salary string
CreatedBy int
DeletedBy int
Keywords string
Skill string
MinimumYears int
MaximumYears int
PostedDate time.Time
ValidThrough time.Time
Status int
ModifiedBy int
}
type Filter ¶
type Filter struct {
Keyword string
JobType string
Name string
EmailId string
MobileNo string
JobId int
Status string
ApplicantName string
ApplicantEmail string
Experience int
JobTitle string
JobLocation string
CategoryId int
CategorySlug string
KeyWord string
MinimumYears int
MaximumYears int
DatePosted string
Skill string
}
type Jobs ¶
type Jobs struct {
AuthEnable bool
PermissionEnable bool
AuthFlg bool
PermissionFlg bool
DB *gorm.DB
Auth *auth.Auth
Permissions *role.PermissionConfig
DataBaseType Type
Userid int
Dataaccess int
}
func (*Jobs) ApplicantsList ¶
func (Ap *Jobs) ApplicantsList(limit, offset int, filter Filter) (applicants []TblJobsApplicants, count int64, err error)
Applicant List Function//
func (*Jobs) ChangeApplicantStatus ¶ added in v0.0.7
func (*Jobs) CheckAlreadyRegistered ¶ added in v0.0.13
func (*Jobs) CreateApplicant ¶
func (Ap *Jobs) CreateApplicant(ap CreateApplicantReq) error
func (*Jobs) CreateJob ¶
func (Ap *Jobs) CreateJob(Jc CreateJobReq) error
func (*Jobs) CreateJobApplication ¶ added in v0.0.13
func (jobs *Jobs) CreateJobApplication(applicationData ApplicantDetails) error
func (*Jobs) GetApplicantById ¶
func (Ap *Jobs) GetApplicantById(id int) (ap TblJobsApplicants, err error)
func (*Jobs) GetApplicantDetails ¶ added in v0.0.13
func (jobs *Jobs) GetApplicantDetails(jobId, memberId int, emailId string) (applicantDetails ApplicantDetails, err error)
func (*Jobs) GetApplicantJobs ¶
func (*Jobs) GetJobApplicant ¶
func (*Jobs) GetJobDetails ¶ added in v0.0.8
func (*Jobs) GetJobsList ¶ added in v0.0.8
func (*Jobs) MultiSelectApplicantStatus ¶
func (Ap *Jobs) MultiSelectApplicantStatus(memberid []int, status int, modifiedby int) (bool, error)
multiselecte member status change
func (*Jobs) MultiSelectJobsStatus ¶
multiselecte member status change
func (*Jobs) MultiSelectedApplicantDelete ¶
func (*Jobs) MultiSelectedJobDelete ¶
func (*Jobs) UpdateApplicant ¶
func (Ap *Jobs) UpdateApplicant(ap CreateApplicantReq, memberid int) error
func (*Jobs) UpdateJob ¶
func (Ap *Jobs) UpdateJob(Jc CreateJobReq) error
type JobsListReq ¶ added in v0.0.4
type JobsModel ¶
var Jobsmodel JobsModel
func (JobsModel) ApplicantCreate ¶
func (jobsmodel JobsModel) ApplicantCreate(applicant TblJobsApplicants, DB *gorm.DB) error
func (JobsModel) ApplicantDelete ¶
func (jobmodel JobsModel) ApplicantDelete(applicant TblJobsApplicants, DB *gorm.DB) error
func (JobsModel) ApplicantUpdate ¶
func (jobsmodel JobsModel) ApplicantUpdate(applicant *TblJobsApplicants, DB *gorm.DB) error
func (JobsModel) ApplicantsList ¶
func (JobsModel) ChangeApplicantStatus ¶ added in v0.0.7
func (JobsModel) CheckAlreadyRegistered ¶ added in v0.0.13
func (JobsModel) CreateJobApplication ¶ added in v0.0.13
func (jobsModel JobsModel) CreateJobApplication(applicationData ApplicantDetails, DB *gorm.DB) error
func (JobsModel) GetApplicantById ¶
func (JobsModel) GetApplicantDetails ¶ added in v0.0.13
func (JobsModel) GetApplicantJobs ¶
func (JobsModel) GetJobApplicantByJobId ¶
func (JobsModel) GetJobDetails ¶ added in v0.0.8
func (JobsModel) GetJobsList ¶ added in v0.0.8
func (JobsModel) JobDetailsById ¶
func (JobsModel) MultiApplicantIsActive ¶
func (JobsModel) MultiJobsIsActive ¶
func (JobsModel) MultiSelectedApplicantDelete ¶
type TblJobs ¶
type TblJobs struct {
Id int `gorm:"primaryKey;auto_increment;type:serial"`
CategoriesId int `gorm:"type:integer"`
Category categories.TblCategories `gorm:"foreignKey:Id;"`
JobTitle string `gorm:"type:character varying"`
JobDescription string `gorm:"type:character varying"`
JobLocation string `gorm:"type:character varying"`
JobType string `gorm:"type:character varying"`
Education string `gorm:"type:character varying"`
Department string `gorm:"type:character varying"`
Experience string `gorm:"type:character varying"`
Salary string `gorm:"type:character varying"`
CreatedOn time.Time `gorm:"type:timestamp without time zone;DEFAULT:NULL"`
CreatedBy int `gorm:"type:integer"`
CreatedDate string `gorm:"-:migration;<-:false"`
IsDeleted int `gorm:"type:integer"`
DeletedOn time.Time `gorm:"DEFAULT:NULL"`
DeletedBy int `gorm:"DEFAULT:NULL"`
ApplicantsList []TblJobsApplicants `gorm:"foreignKey:Id;"`
Keywords string `gorm:"type:character varying"`
Skill string `gorm:"type:character varying"`
MinimumYears int `gorm:"type:integer"`
MaximumYears int `gorm:"type:integer"`
PostedDate time.Time `gorm:"type:timestamp without time zone;DEFAULT:NULL"`
ValidThrough time.Time `gorm:"type:timestamp without time zone;DEFAULT:NULL"`
Status int `gorm:"type:integer"`
Startdate string `gorm:"-:migration;<-:false"`
Enddate string `gorm:"-:migration;<-:false"`
ModifiedOn time.Time `gorm:"type:timestamp without time zone;DEFAULT:NULL"`
ModifiedBy int `gorm:"type:integer"`
CategoryNames []categories.TblCategories `gorm:"-"`
JobList []TblJobsRegisters `gorm:"foreignKey:Id;"`
Jobregstatus string `gorm:"-:migration;<-:false"`
JobSlug string `gorm:"type:character varying"`
}
type TblJobsApplicants ¶
type TblJobsApplicants struct {
Id int `gorm:"primaryKey;auto_increment;type:serial"`
MemberId int `gorm:"type:integer"`
Name string `gorm:"type:character varying"`
EmailId string `gorm:"type:character varying"`
MobileNo string `gorm:"type:character varying"`
JobType string `gorm:"type:character varying"`
Location string `gorm:"type:character varying"`
Education string `gorm:"type:character varying"`
Graduation int `gorm:"type:integer"`
CompanyName string `gorm:"type:character varying"`
Experience int `gorm:"type:integer"`
Skills string `gorm:"type:character varying"`
ImagePath string `gorm:"type:character varying"`
Image string `gorm:"type:character varying"`
CreatedOn time.Time `gorm:"type:timestamp without time zone;DEFAULT:NULL"`
CreatedBy int
ModifiedOn time.Time `gorm:"DEFAULT:NULL"`
ModifiedBy int
IsDeleted int
DeletedOn time.Time `gorm:"DEFAULT:NULL"`
DeletedBy int
CreatedDate string `gorm:"-:migration;<-:false"`
CurrentSalary int `gorm:"type:integer"`
ExpectedSalary int `gorm:"type:integer"`
Status int `gorm:"type:integer"`
NameString string `gorm:"-:migration;<-:false"`
Password string
ResumePath string `gorm:"type:character varying"`
ResumeName string `gorm:"type:character varying"`
Jobregstatus string `gorm:"-:migration;<-:false"`
StorageType string `gorm:"type:character varying"`
}
type TblJobsDepartment ¶
type TblJobsEducation ¶
type TblJobsRegisters ¶
type TblJobsRegisters struct {
Id int `gorm:"primaryKey;auto_increment;type:serial"`
JobId int
ApplicantId int
CreatedBy int `gorm:"type:integer"`
CreatedOn time.Time `gorm:"type:timestamp without time zone;DEFAULT:NULL"`
ApplicantsList []TblJobsApplicants `gorm:"foreignKey:Id;"`
JobList []TblJobs `gorm:"foreignKey:Id;"`
CreatedDate string `gorm:"-:migration;<-:false"`
Status string `gorm:"type:character varying"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.