123456789101112131415161718192021222324 |
- package entity
- import (
- "github.com/gogf/gf/v2/os/gtime"
- )
- type Orders struct {
- Id int `json:"id" orm:"id" description:""`
- UserId int `json:"userId" orm:"user_id" description:""`
- OrderNumber string `json:"orderNumber" orm:"order_number" description:""`
- Status string `json:"status" orm:"status" description:""`
- TotalAmount float64 `json:"totalAmount" orm:"total_amount" description:""`
- CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
- UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
- ShippedAt *gtime.Time `json:"shippedAt" orm:"shipped_at" description:""`
- DeliveredAt *gtime.Time `json:"deliveredAt" orm:"delivered_at" description:""`
- PaymentStatus string `json:"paymentStatus" orm:"payment_status" description:""`
- ShippingAddress string `json:"shippingAddress" orm:"shipping_address" description:""`
- }
|