1234567891011121314151617
  1. package model
  2. import (
  3. "time"
  4. )
  5. type TaForbidUser struct {
  6. ForbidId string `xorm:"not null pk VARCHAR(64)"`
  7. UserId string `xorm:"VARCHAR(64)"`
  8. UserType string `xorm:"VARCHAR(64)"`
  9. ForbidType string `xorm:"comment('order 订单 coupon 卡券') VARCHAR(20)"`
  10. BeginDate time.Time `xorm:"DATETIME"`
  11. EndDate time.Time `xorm:"DATETIME"`
  12. Status int `xorm:"SMALLINT(6)"`
  13. CreateDate time.Time `xorm:"DATETIME"`
  14. CaseId string `xorm:"VARCHAR(64)"`
  15. }