Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DailyScheduling ¶
type DailyScheduling struct { Day int `json:"day"` DayName string `json:"day_name"` MonthName string `json:"month_name"` Date time.Time `json:"date"` DayWeek int `json:"day_week"` DayColors []string `json:"day_colors"` Scheduling []Scheduling `json:"schedulings"` }
func (DailyScheduling) Len ¶
func (slice DailyScheduling) Len() int
func (DailyScheduling) Less ¶
func (slice DailyScheduling) Less(i, j int) bool
func (DailyScheduling) Swap ¶
func (slice DailyScheduling) Swap(i, j int)
type DoneSchedulingResponse ¶
type DoneSchedulingResponse struct { ID uint64 `json:"id"` Dosage string `json:"dosage"` Quantity int `json:"quantity"` Avatar string `json:"avatar"` MedicationTime *time.Time `json:"medication_time"` MedicationTakenAt *time.Time `json:"medication_taken_at"` Status string `json:"status"` }
func (*DoneSchedulingResponse) ToDTO ¶
func (d *DoneSchedulingResponse) ToDTO(s *scheduling.Scheduling)
type JobResponse ¶
type Scheduling ¶
type Scheduling struct { Id uint64 `json:"id"` Name string `json:"name"` MedicationTime time.Time `json:"medication_time"` MedicationTakenTime *time.Time `json:"medication_taken_time"` Dosage string `json:"dosage"` Quantity int `json:"quantity"` MedicationType string `json:"medication_type"` Status string `json:"status"` Image string `json:"image"` Color string `json:"color"` }
Click to show internal directories.
Click to hide internal directories.