Documentation
¶
Index ¶
- type AHP
- type AHPToAlternatives
- type Admin
- type AhpRecommendation
- type Alternative
- type Answer
- type LoginRequest
- type LoginResponse
- type Question
- type QuestionResponse
- type QuestionnareSetting
- type QuestionnareSettingAlternative
- type Recommendation
- type RecommendationResult
- type School
- type Statistic
- type Student
- type StudentProfile
- type StudentRecommendation
- type SubmitAnswerRequest
- type TopsisRecommendation
- type UpdateAdminRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AHPToAlternatives ¶
type AhpRecommendation ¶
type AhpRecommendation struct {
Result []RecommendationResult `db:"result" json:"result"`
ConsistencyRatio null.Float `db:"consistency_ratio" json:"consistency_ratio"`
}
type Alternative ¶
type LoginRequest ¶
type LoginResponse ¶
type QuestionResponse ¶
type QuestionnareSetting ¶
type QuestionnareSetting struct {
SchoolId string `db:"school_id" json:"school_id"`
Id int `db:"id" json:"id"`
AlternativeId int `db:"alternative_id" json:"alternative_id"`
TotalOpenJobs null.Int16 `db:"total_open_jobs" json:"total_open_jobs"`
EntrepreneurshipOpportunity null.Int16 `db:"entrepreneurship_opportunity" json:"entrepreneurship_opportunity"`
Salary null.Int16 `db:"salary" json:"salary"`
}
type QuestionnareSettingAlternative ¶
type QuestionnareSettingAlternative struct {
Alternative string `db:"alternative" json:"alternative"`
Id int `db:"id" json:"id"`
TotalOpenJobs null.Int16 `db:"total_open_jobs" json:"total_open_jobs"`
EntrepreneurshipOpportunity null.Int16 `db:"entrepreneurship_opportunity" json:"entrepreneurship_opportunity"`
Salary null.Int16 `db:"salary" json:"salary"`
}
type Recommendation ¶
type Recommendation struct {
Ahp AhpRecommendation `db:"ahp" json:"ahp"`
Topsis TopsisRecommendation `db:"topsis" json:"topsis"`
}
type RecommendationResult ¶
type Student ¶
type Student struct {
Id string `db:"id" json:"id"`
Username string `db:"username" json:"username"`
Password string `db:"password" json:"-"`
Fullname string `db:"fullname" json:"fullname"`
Nisn string `db:"nisn" json:"nisn"`
Email null.String `db:"email" json:"email,omitempty"`
PhoneNumber null.String `db:"phone_number" json:"phone_number,omitempty"`
}
type StudentProfile ¶
type StudentProfile struct {
Id string `db:"id" json:"id"`
Username string `db:"username" json:"username"`
Fullname string `db:"fullname" json:"fullname"`
Nisn string `db:"nisn" json:"nisn"`
School string `json:"school"`
Email null.String `db:"email" json:"email,omitempty"`
PhoneNumber null.String `db:"phone_number" json:"phone_number,omitempty"`
}
type StudentRecommendation ¶
type StudentRecommendation struct {
StudentId string `db:"student_id" json:"student_id"`
Fullname string `db:"fullname" json:"fullname"`
Nisn string `db:"nisn" json:"nisn"`
AhpResults []RecommendationResult `db:"ahp_results" json:"ahp_results"`
TopsisResults []RecommendationResult `db:"topsis_results" json:"topsis_results"`
ConsistencyRatio null.Float `db:"consistency_ratio" json:"consistency_ratio"`
Id int32 `db:"id" json:"id"`
}
type SubmitAnswerRequest ¶
type TopsisRecommendation ¶
type TopsisRecommendation struct {
Result RecommendationResult `db:"result" json:"result"`
Id int32 `db:"id" json:"id"`
}
type UpdateAdminRequest ¶
Click to show internal directories.
Click to hide internal directories.