附近小店
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.

community_team_pay_order.go 1.9 KiB

1 month ago
1234567891011121314151617181920212223242526272829
  1. package model
  2. import (
  3. "time"
  4. )
  5. type CommunityTeamPayOrder struct {
  6. Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
  7. Uid int `json:"uid" xorm:"default 0 INT(11)"`
  8. StoreType int `json:"store_type" xorm:"default 0 comment('0官方自营店 1加盟店 2连锁店') INT(11)"`
  9. StoreUid int `json:"store_uid" xorm:"default 0 comment('门店用户id') INT(11)"`
  10. ParentUid int `json:"parent_uid" xorm:"default 0 comment('上级代理') INT(11)"`
  11. Commission string `json:"commission" xorm:"comment('分佣(元)') DECIMAL(20,2)"`
  12. CreateAt time.Time `json:"create_at" xorm:"DATETIME"`
  13. UpdateAt time.Time `json:"update_at" xorm:"DATETIME"`
  14. State int `json:"state" xorm:"default 0 comment('0待付款 1已支付 2已提货') INT(11)"`
  15. PayAt time.Time `json:"pay_at" xorm:"comment('付款时间') DATETIME"`
  16. Oid int64 `json:"oid" xorm:"default 0 comment('主单号') BIGINT(20)"`
  17. PayMethod int `json:"pay_method" xorm:"default 0 comment('1余额 2支付宝 3微信') INT(11)"`
  18. PayId string `json:"pay_id" xorm:"comment('第三方的支付id') VARCHAR(255)"`
  19. Amount string `json:"amount" xorm:"default 0.00 comment('总金额') DECIMAL(20,2)"`
  20. Memo string `json:"memo" xorm:"comment('备注') VARCHAR(255)"`
  21. StoreSettleAt int `json:"store_settle_at" xorm:"default 0 INT(11)"`
  22. CommissionAt int `json:"commission_at" xorm:"default 0 INT(11)"`
  23. SettleAt int `json:"settle_at" xorm:"default 0 INT(11)"`
  24. UserCommission string `json:"user_commission" xorm:"default 0.00 DECIMAL(20,2)"`
  25. AgentCommission string `json:"agent_commission" xorm:"default 0.00 DECIMAL(20,2)"`
  26. PlatformCommission string `json:"platform_commission" xorm:"default 0.00 DECIMAL(20,2)"`
  27. }