Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCaregiverRequest ¶
type CreateCaregiverResponse ¶
type CreateCaregiverResponse struct { ID uint64 `json:"id"` Name string `json:"name"` BirthDate *time.Time `json:"birth_date"` Avatar string `json:"avatar"` Sex *domain.Sex Email string `json:"email"` Status string `json:"status"` Uid string }
func (*CreateCaregiverResponse) ToDTO ¶
func (c *CreateCaregiverResponse) ToDTO(d *caregiver.Caregiver)
type GetCaregiverResponse ¶
type GetCaregiverResponse struct { ID uint64 `json:"id"` Name string `json:"name"` BirthDate *time.Time `json:"birth_date"` Avatar string `json:"avatar"` Sex *domain.Sex `json:"sex"` Email string `json:"email"` Status string `json:"status"` Patient *patient.GetPatientResponse `json:"patient"` }
func (*GetCaregiverResponse) ToDTO ¶
func (c *GetCaregiverResponse) ToDTO(d *caregiver.Caregiver)
type UpdateCaregiverRequest ¶
type UpdateCaregiverResponse ¶
type UpdateCaregiverResponse struct { ID uint64 `json:"id"` Name string `json:"name"` BirthDate *time.Time `json:"birth_date"` Avatar string `json:"avatar"` Sex *domain.Sex Email string `json:"email"` Status string `json:"status"` }
func (*UpdateCaregiverResponse) ToDTO ¶
func (c *UpdateCaregiverResponse) ToDTO(d *caregiver.Caregiver)
Click to show internal directories.
Click to hide internal directories.