互动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
810 B

5 years ago
  1. package models
  2. import (
  3. "time"
  4. )
  5. type Order struct {
  6. Id int64 `json:"id"`
  7. CustomerId int64 `json:"customer_id"`
  8. OutTradeNo string `json:"out_trade_no"`
  9. TradeNo string `json:"trade_no"`
  10. Money float64 `json:"money"`
  11. ServiceFee float64 `json:"service_fee"`
  12. TotalAmount float64 `json:"total_amount"`
  13. PayType string `json:"pay_type"`
  14. PayTime time.Time `json:"pay_time"`
  15. Goods string `json:"goods"`
  16. ServiceIds string `json:"service_ids"`
  17. ActivityId string `json:"activity_id"`
  18. IsPay int `json:"is_pay"`
  19. Mark string `json:"mark"`
  20. IsDelete bool `json:"is_delete" xorm:"default(0)"`
  21. CreatedAt time.Time `json:"created_at" xorm:"created"`
  22. UpdatedAt time.Time `json:"updated_at" xorm:"updated"`
  23. }