package models import ( "time" ) type Order struct { Id int64 `json:"id"` CustomerId int64 `json:"customer_id"` OutTradeNo string `json:"out_trade_no"` TradeNo string `json:"trade_no"` Money float64 `json:"money"` ServiceFee float64 `json:"service_fee"` TotalAmount float64 `json:"total_amount"` PayType string `json:"pay_type"` PayTime time.Time `json:"pay_time"` Goods string `json:"goods"` ServiceIds string `json:"service_ids"` ActivityId string `json:"activity_id"` IsPay int `json:"is_pay"` Mark string `json:"mark"` IsDelete bool `json:"is_delete" xorm:"default(0)"` CreatedAt time.Time `json:"created_at" xorm:"created"` UpdatedAt time.Time `json:"updated_at" xorm:"updated"` }