1234567891011121314151617181920212223
  1. package model
  2. import (
  3. "time"
  4. )
  5. type TaCustomerCourse struct {
  6. CustomerCourseId string `xorm:"not null pk VARCHAR(64)"`
  7. CourseId string `xorm:"VARCHAR(64)"`
  8. CustomerId string `xorm:"VARCHAR(64)"`
  9. OrgId string `xorm:"VARCHAR(64)"`
  10. CaseId string `xorm:"VARCHAR(64)"`
  11. CourseName string `xorm:"VARCHAR(50)"`
  12. LocationId string `xorm:"CHAR(10)"`
  13. Price string `xorm:"DECIMAL(8,2)"`
  14. CourseNum int `xorm:"INT(11)"`
  15. JoinNum int `xorm:"INT(11)"`
  16. CreateDate time.Time `xorm:"DATETIME"`
  17. CourseObtaimType string `xorm:"VARCHAR(32)"`
  18. SourceId string `xorm:"VARCHAR(64)"`
  19. Status int `xorm:"SMALLINT(6)"`
  20. IsDone int `xorm:"TINYINT(1)"`
  21. }