Documentation
¶
Index ¶
- type AHP
- type AHPToAlternatives
- type Admin
- type AhpRecommendation
- type Alternative
- type Answer
- type ChangePasswordRequest
- type CriteriaWeights
- type Expectation
- type ExpectationData
- type ExpectationRequest
- type ExpectationStatusResponse
- type ExpectationToAlternative
- type LoginRequest
- type LoginResponse
- type Question
- type QuestionResponse
- type QuestionnareSetting
- type QuestionnareSettingAlternative
- type Recommendation
- type RecommendationResult
- type RecommendationResultWithRank
- type School
- type Statistic
- type Student
- type StudentProfile
- type StudentRecommendation
- type StudentRegisterRequest
- type SubmitAnswerRequest
- type TOPSIS
- type TOPSISAHPToAlternatives
- type TOPSISCombinativesRecommendation
- type TOPSISToAlternatives
- type TopsisAHPRecommendation
- type TopsisRecommendation
- type UpdateAdminRequest
- type Weights
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AHPToAlternatives ¶
type AhpRecommendation ¶
type AhpRecommendation struct {
Result []RecommendationResultWithRank `db:"result" json:"result"`
ConsistencyRatio null.Float `db:"consistency_ratio" json:"consistency_ratio"`
}
type Alternative ¶
type ChangePasswordRequest ¶ added in v1.1.0
type CriteriaWeights ¶ added in v1.1.0
type Expectation ¶ added in v1.1.0
type Expectation struct {
Id string `db:"id"`
StudentId string `db:"student_id"`
Expectations []ExpectationToAlternative `db:"expectations"`
}
type ExpectationData ¶ added in v1.1.0
type ExpectationRequest ¶ added in v1.1.0
type ExpectationRequest struct {
Expectations []ExpectationData `json:"expectations"`
}
type ExpectationStatusResponse ¶ added in v1.1.0
type ExpectationStatusResponse struct {
Status string `json:"status"`
}
type ExpectationToAlternative ¶ added in v1.1.0
type ExpectationToAlternative struct {
ExpectationId string `db:"expectation_id" json:"expectation_id"`
AlternativeId string `db:"alternative_id" json:"alternative_id"`
AlternativeName string `db:"alternative_name" json:"alternative_name"`
Id int64 `db:"id" json:"id"`
Rank int `db:"rank" json:"rank"`
}
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"`
TopsisAHP TopsisAHPRecommendation `db:"topsis_ahp" json:"topsis_ahp"`
TOPSISCombinatives TOPSISCombinativesRecommendation `db:"topsis_combinative" json:"topsis_combinative"`
}
type RecommendationResult ¶
type RecommendationResultWithRank ¶ added in v1.1.0
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"`
}
type StudentRegisterRequest ¶ added in v1.1.0
type SubmitAnswerRequest ¶
type TOPSISAHPToAlternatives ¶ added in v1.1.0
type TOPSISCombinativesRecommendation ¶ added in v1.1.0
type TOPSISCombinativesRecommendation struct {
Result []RecommendationResult `db:"result" json:"result"`
Id int32 `db:"id" json:"id"`
}
type TOPSISToAlternatives ¶ added in v1.1.0
type TopsisAHPRecommendation ¶ added in v1.1.0
type TopsisAHPRecommendation struct {
Result []RecommendationResult `db:"result" json:"result"`
Id int32 `db:"id" json:"id"`
}
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.