1234567891011121314151617181920212223
  1. package model
  2. import (
  3. "time"
  4. )
  5. type TaGymCard struct {
  6. GymCardId string `xorm:"not null pk VARCHAR(64)"`
  7. GymTypeId string `xorm:"VARCHAR(64)"`
  8. GymCardName string `xorm:"VARCHAR(128)"`
  9. Price string `xorm:"DECIMAL(8,2)"`
  10. SendType string `xorm:"comment('case 案场 channel渠道') VARCHAR(50)"`
  11. StartDate time.Time `xorm:"DATETIME"`
  12. EndDate time.Time `xorm:"DATETIME"`
  13. ValidDays int `xorm:"INT(11)"`
  14. TotalCount int `xorm:"INT(11)"`
  15. SentCount int `xorm:"INT(11)"`
  16. UsedCount int `xorm:"INT(11)"`
  17. Status int `xorm:"comment('0未发布 1已发布 2已过期') SMALLINT(6)"`
  18. CaseId string `xorm:"VARCHAR(64)"`
  19. OrgId string `xorm:"VARCHAR(64)"`
  20. CreateDate time.Time `xorm:"DATETIME"`
  21. }