21 lines
686 B
Go
21 lines
686 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type Order struct {
|
|
ID string `json:"id"`
|
|
ProductID string `json:"productId"`
|
|
ProductName string `json:"productName"`
|
|
UserAccount string `json:"userAccount"`
|
|
UserName string `json:"userName"`
|
|
Quantity int `json:"quantity"`
|
|
DeliveredCodes []string `json:"deliveredCodes"`
|
|
Status string `json:"status"`
|
|
DeliveryMode string `json:"deliveryMode"`
|
|
Note string `json:"note"`
|
|
ContactPhone string `json:"contactPhone"`
|
|
ContactEmail string `json:"contactEmail"`
|
|
NotifyEmail string `json:"notifyEmail"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
}
|