orders.go 1.4 KB

123456789101112131415161718192021222324
  1. // =================================================================================
  2. // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
  3. // =================================================================================
  4. package entity
  5. import (
  6. "github.com/gogf/gf/v2/os/gtime"
  7. )
  8. // Orders is the golang structure for table orders.
  9. type Orders struct {
  10. Id int `json:"id" orm:"id" description:""` //
  11. UserId int `json:"userId" orm:"user_id" description:""` //
  12. OrderNumber string `json:"orderNumber" orm:"order_number" description:""` //
  13. Status string `json:"status" orm:"status" description:""` //
  14. TotalAmount float64 `json:"totalAmount" orm:"total_amount" description:""` //
  15. CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""` //
  16. UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""` //
  17. ShippedAt *gtime.Time `json:"shippedAt" orm:"shipped_at" description:""` //
  18. DeliveredAt *gtime.Time `json:"deliveredAt" orm:"delivered_at" description:""` //
  19. PaymentStatus string `json:"paymentStatus" orm:"payment_status" description:""` //
  20. ShippingAddress string `json:"shippingAddress" orm:"shipping_address" description:""` //
  21. }