Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreatePersonalBody ¶
type CreatePersonalBody struct { Email string `json:"email" validate:"required"` Password string `json:"password" validate:"required"` Name string `json:"name" validate:"required"` Phone string `json:"phone" validate:"required"` Birthday string `json:"birthday" validate:"required"` Gender string `json:"gender" validate:"required"` }
type CreateStudentBody ¶
type CreateStudentBody struct { PersonalID string `json:"personalId" validate:"required"` PlanType string `json:"planType" validate:"required"` Name string `json:"name" validate:"required"` Email string `json:"email" validate:"required"` Phone string `json:"phone" validate:"required"` Birthday string `json:"birthday" validate:"required"` Gender string `json:"gender" validate:"required"` Objective string `json:"objective" validate:"required"` Frequence string `json:"frequence" validate:"required"` TrainingPlace string `json:"trainingPlace" validate:"required"` }
type UpdateUserBody ¶
type UpdateUserBody struct { Name string `json:"name" validate:"required"` Birthday string `json:"birthday" validate:"required"` Objective string `json:"objective" validate:"required"` Gender string `json:"gender" validate:"required"` Phone string `json:"phone" validate:"required"` PlanType string `json:"planType" validate:"required"` Frequence string `json:"frequence" validate:"required"` TrainingPlace string `json:"trainingPlace" validate:"required"` }
Click to show internal directories.
Click to hide internal directories.