Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttendantQueryDTO ¶
type AttendantQueryDTO struct { appDto.PaginationDTO TeamID string `validate:"omitempty,uuid" query:"team_id" pg:"operation=equal"` Name string `validate:"omitempty" query:"name" pg:"operation=like"` CPF string `validate:"omitempty,cpf" query:"cpf" pg:"operation=like"` }
type CreateAttendantDTO ¶
type CreateAttendantDTO struct { CPF string `validate:"required,cpf" json:"cpf"` Name string `validate:"required,min=10,max=50" json:"name"` Email string `validate:"required,email,max=50" json:"email"` Password string `validate:"required,min=8" json:"password"` TeamId string `validate:"required,uuid" json:"team_id"` BirthDate string `validate:"required,birthdate,notfuturedate" json:"birth_date"` }
type QueryAttendantEvaluationDTO ¶
type QueryAttendantEvaluationDTO struct { appDto.PaginationDTO AvaluatedID string `validate:"omitempty,uuid" query:"avaluated_id" pg:"operation=equal"` AvaluatorID string `validate:"omitempty,uuid" query:"avaluator_id" pg:"operation=equal"` }
type UpdateAttendantDTO ¶
type UpdateAttendantDTO struct { CPF string `validate:"omitempty,cpf" json:"cpf,omitempty"` Name string `validate:"omitempty,min=10,max=50" json:"name,omitempty"` Email string `validate:"omitempty,email,max=50" json:"email,omitempty"` Password string `validate:"omitempty,min=8" json:"Password,omitempty"` TeamId string `validate:"omitempty,uuid" json:"team_id"` BirthDate time.Time `json:"birth_date,omitempty"` }
Click to show internal directories.
Click to hide internal directories.