Documentation
¶
Index ¶
- Variables
- func AuthandPermission(jobs *Jobs) error
- func HashingPassword(pass string) string
- 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) CreateApplicant(ap CreateApplicantReq) error
- func (Ap *Jobs) CreateJob(Jc CreateJobReq) error
- func (Ap *Jobs) DBconf() *member.Member
- func (Ap *Jobs) DeleteApplicant(memberid int, userid int, DB *gorm.DB) error
- func (Ap *Jobs) DeleteJob(id int, userid int) error
- func (Ap *Jobs) GetApplicantById(id int) (ap TblJobsApplicants, err error)
- func (Ap *Jobs) GetApplicantJobs(ApplicantId int, limit int, offset int) (applicantjobs []TblJobs, 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 (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 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) GetApplicantById(id int, DB *gorm.DB) (applicant TblJobsApplicants, err error)
- func (jobmodel JobsModel) GetApplicantJobs(applicantid int, limit int, offset int, DB *gorm.DB) (applicantjobs []TblJobs, 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) 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(offset int, limit 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 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
}
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 Jobs ¶
type Jobs struct {
AuthEnable bool
PermissionEnable bool
AuthFlg bool
PermissionFlg bool
DB *gorm.DB
Auth *auth.Auth
Permissions *role.PermissionConfig
}
func (*Jobs) ApplicantsList ¶
func (Ap *Jobs) ApplicantsList(limit, offset int, filter Filter) (applicants []TblJobsApplicants, count int64, err error)
Applicant List Function//
func (*Jobs) CreateApplicant ¶
func (Ap *Jobs) CreateApplicant(ap CreateApplicantReq) error
func (*Jobs) CreateJob ¶
func (Ap *Jobs) CreateJob(Jc CreateJobReq) error
func (*Jobs) DeleteApplicant ¶
func (*Jobs) GetApplicantById ¶
func (Ap *Jobs) GetApplicantById(id int) (ap TblJobsApplicants, err error)
func (*Jobs) GetApplicantJobs ¶
func (*Jobs) GetJobApplicant ¶
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 JobsModel ¶
type JobsModel struct{}
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) GetApplicantById ¶
func (JobsModel) GetApplicantJobs ¶
func (JobsModel) GetJobApplicantByJobId ¶
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"`
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 []TblJobs `gorm:"foreignKey:Id;"`
}
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
}
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;"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.