Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Appointment ¶
type Appointment struct { ID string LocationID string Location Location StartTime IntTime EndTime IntTime }
Appointment represents a time for customers to pick up their items.
func (Appointment) TableName ¶
func (Appointment) TableName() string
TableName implements the Tabler interface in GORM to specify table name for the Appointment model
type AppointmentAction ¶
type AppointmentAction struct { ID string AppointmentID string Appointment Appointment CustomerID string Customer Customer ActionType AppointmentActionEnum CreatedAt IntTime }
AppointmentAction stores actions that have been performed for an appointment.
func (AppointmentAction) TableName ¶
func (AppointmentAction) TableName() string
TableName implements the Tabler interface in GORM to specify table name for the AppointmentAction model
type AppointmentActionEnum ¶
type AppointmentActionEnum int64
AppointmentActionEnum represents action types
const ( Notified AppointmentActionEnum = iota Accepted CancelledByStore CancelledByCustomer )
all possible actions for an appointment
func (AppointmentActionEnum) Scan ¶
func (aat AppointmentActionEnum) Scan(value interface{}) error
Scan custom scanner
Click to show internal directories.
Click to hide internal directories.