Discover Packages
github.com/diabolusgx/snack-track
internal
models
package
Version:
v0.0.0-...-295118f
Opens a new window with list of versions in this module.
Published: Dec 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type DeliveryDetails struct {
DeliveryStatus int `json:"deliveryStatus"`
DeliveryLabel string `json:"deliveryLabel"`
DeliveryMessage string `json:"deliveryMessage"`
}
type OrderUpdate struct {
Order *ZomatoOrder `json:"order"`
SlackId string `json:"slackId"`
}
type ResInfo struct {
Name string `json:"name"`
}
type Schedule struct {
From string `bson:"from" json:"from"`
To string `bson:"to" json:"to"`
}
type UpdateUserSettings struct {
SlackId string `json:"slackId"`
StartTime []string `json:"startTime"`
EndTime []string `json:"endTime"`
AddressIds []string `json:"addressIds"`
}
type User struct {
UserId string `bson:"user_id" json:"user_id"`
ChannelId string `bson:"channel_id" json:"channel_id"`
TeamDomain string `bson:"team_domain" json:"team_domain"`
Schedule []*Schedule `bson:"schedule" json:"schedule"`
AddressIds []string `bson:"address_ids" json:"address_ids"`
}
type ZomatoOrder struct {
OrderId uint64 `json:"orderId"`
Status int `json:"status"`
PaymentStatus int `json:"paymentStatus"`
DeliveryDetails *DeliveryDetails `json:"deliveryDetails"`
ResInfo *ResInfo `json:"resInfo"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.