互动
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.

19 lines
1021 B

5 years ago
  1. package models
  2. import "time"
  3. //摇红包钱包历史
  4. type ShakeRedEnvelopeWalletHistory struct {
  5. Id int64 `json:"id"`
  6. CustomerId int64 `json:"customer_id" description:"客户id"`
  7. HisBalance float64 `json:"his_balance" description:"历史余额"`
  8. Type string `json:"type" description:"记录类型 充值、消费、转出、未领取、发送失败"`
  9. RechargeType string `json:"recharge_type" description:"充值方式 支付宝、微信"`
  10. Status string `json:"status" description:"交易状态"`
  11. Account string `json:"account" description:"领取红包的账户"`
  12. Money float64 `json:"money" description:"金额[分正负]"`
  13. Mark string `json:"mark" description:"备注"`
  14. IsDelete bool `json:"is_delete" xorm:"default(0)" description:"是否删除"`
  15. CreatedAt time.Time `json:"created_at" xorm:"created" description:"创建时间"`
  16. UpdatedAt time.Time `json:"updated_at" xorm:"updated" description:"更新时间"`
  17. }