models

package
v0.0.0-...-1f25dca Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interview

type Interview struct {
	CandidateId    int  `json:"candidateId"`
	ResumeId       int  `json:"resumeId"`
	LevelOne       bool `json:"levelOne"`
	LevelTwo       bool `json:"levelTwo"`
	Managerial     bool `json:"managerial"`
	OfferRolledOut bool `json:"offerRolledOut"`
	OfferStatus    int  `json:"offerStatus"`
}

type OfferStatus

type OfferStatus struct {
	// status can be
	// 0. Not applicable
	// 1. awaited
	// 2. acceptance requested
	// 3. accepted
	// 4. onboarded
	OfferId     int    `json:"offerId"`
	Description string `json:"description"`
}

type PersonalDetails

type PersonalDetails struct {
	PersonalDetailsId  int                     `json:"personalDetailsId"`
	CandidateId        int                     `json:"candidateId"`
	PhoneNumber        string                  `json:"phonenumber"`
	CurrentCity        string                  `json:"currentCity"`
	CurrentCountry     string                  `json:"currentCountry"`
	Socials            Socials                 `json:"socials"`
	CandidateSkills    []string                `json:"skills"`
	CandidateInterests []string                `json:"interests"`
	EducationDetails   models.EducationDetails `json:"educationDetails"`
}

type Resume

type Resume struct {
	ResumeId        int             `json:"resumeId"`
	CandidateId     int             `json:"candidateId"`
	Name            string          `json:"candidateName"`
	Dob             time.Time       `json:"dateofbirth"`
	WorkEx          Workex          `json:"WorkEx"`
	PersonalDetails PersonalDetails `json:"personalDetails"`
	ResumeStatus    bool            `json:"resumeAccepted"` // Resume status can be accepted or rejected
}

type Socials

type Socials struct {
	SocialId      int    `json:"socialId"`
	Linkedin      string `json:"linkedinURL"`
	Github        string `json:"githubURL"`
	StackOverflow string `json:"stack-overflowURL"`
}

type User

type User struct {
	UserId        int       `json:"UserId"`
	CandidateFlag bool      `json:"candidateFlag"`
	Resume        Resume    `json:"Resume"`
	Interview     Interview `json:"InterviewDetails"`
}

type Workex

type Workex struct {
	WorkexId    int       `json:"workexId"`
	StartDate   time.Time `json:"startDate"`
	EndDate     time.Time `json:"endDate"`
	CompanyName string    `json:"company"`
	Role        string    `json:"role"`
	Description string    `json:"description"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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