dtos

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckIfStudentHasGradeDTO

type CheckIfStudentHasGradeDTO struct {
	StudentUUID    string
	LaboratoryUUID string
	RubricUUID     string
}

CheckIfStudentHasGradeDTO data transfer object to check if a student has a grade in a laboratory

type CreateStudentGradeDTO

type CreateStudentGradeDTO struct {
	CheckIfStudentHasGradeDTO
}

type GetStudentGradeDTO

type GetStudentGradeDTO struct {
	CheckIfStudentHasGradeDTO
}

type GetStudentGradeInLaboratoryWithRubricDTO

type GetStudentGradeInLaboratoryWithRubricDTO struct {
	UserUUID       string
	StudentUUID    string
	LaboratoryUUID string
	RubricUUID     string
}

GetStudentGradeInLaboratoryWithRubricDTO data transfer object to parse the request of the endpoint

type GetSummarizedGradesInLaboratoryDTO

type GetSummarizedGradesInLaboratoryDTO struct {
	TeacherUUID    string
	LaboratoryUUID string
}

GetSummarizedGradesInLaboratoryDTO data transfer object to parse the request of the endpoint

type SelectedCriteriaInStudentGradeDTO

type SelectedCriteriaInStudentGradeDTO struct {
	ObjectiveUUID string `json:"objective_uuid"`
	CriteriaUUID  string `json:"criteria_uuid"`
}

SelectedCriteriaInStudentGradeDTO data transfer object to obtain the selected criteria in a student's grade

type SetCommentToGradeDTO added in v0.52.0

type SetCommentToGradeDTO struct {
	TeacherUUID    string
	LaboratoryUUID string
	RubricUUID     string
	StudentUUID    string
	Comment        string
}

SetCommentToGradeDTO data transfer object to parse the request of the endpoint

type SetCriteriaToGradeDTO

type SetCriteriaToGradeDTO struct {
	TeacherUUID    string
	LaboratoryUUID string
	StudentUUID    string
	RubricUUID     string
	CriteriaUUID   *string
	ObjectiveUUID  string
}

SetCriteriaToGradeDTO data transfer object to parse the request of the endpoint

type StudentGradeInLaboratoryWithRubricDTO

type StudentGradeInLaboratoryWithRubricDTO struct {
	Grade            float64                              `json:"grade"`
	Comment          string                               `json:"comment"`
	SelectedCriteria []*SelectedCriteriaInStudentGradeDTO `json:"selected_criteria"`
}

STudentGradeInLaboratoryWithRubricDTO data transfer object to be used as the response of the endpoint

type SummarizedStudentGradeDTO

type SummarizedStudentGradeDTO struct {
	StudentUUID     string  `json:"student_uuid"`
	StudentFullName string  `json:"student_full_name"`
	Grade           float64 `json:"grade"`
}

SummarizedStudentGradeDTO data transfer object to be used as the response of the endpoint

Jump to

Keyboard shortcuts

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