面包店
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.

user_level_ord.go 1.1 KiB

9 months ago
123456789101112131415161718
  1. package model
  2. import (
  3. "time"
  4. )
  5. type UserLevelOrd struct {
  6. Id int64 `json:"id" xorm:"pk autoincr comment('订单id') BIGINT(22)"`
  7. Uid int `json:"uid" xorm:"not null default 0 comment('uid') INT(10)"`
  8. LevelId int `json:"level_id" xorm:"not null default 0 comment('等级id') INT(10)"`
  9. PayAmount string `json:"pay_amount" xorm:"not null default 0 comment('付费金额') DECIMAL(2)"`
  10. PayChannel int `json:"pay_channel" xorm:"not null default 0 comment('1:支付宝,2:微信,3:余额') TINYINT(1)"`
  11. DateType int `json:"date_type" xorm:"not null default 0 comment('1:包月,2:包季,3:包年,4:永久') TINYINT(1)"`
  12. State int `json:"state" xorm:"not null default 0 comment('支付状态:0未支付1已支付') TINYINT(1)"`
  13. CreateAt time.Time `json:"create_at" xorm:"not null default CURRENT_TIMESTAMP comment('创建时间') TIMESTAMP"`
  14. ExpireAt time.Time `json:"expire_at" xorm:"not null default CURRENT_TIMESTAMP comment('过期时间') TIMESTAMP"`
  15. SettleAt int `json:"settle_at" xorm:" default 0 comment('平台结算时间') INT(11)"`
  16. }