12345678910111213141516171819202122232425262728
  1. package model
  2. import (
  3. "time"
  4. )
  5. type TaCourseOrders struct {
  6. OrdersId string `xorm:"not null pk VARCHAR(64)"`
  7. OrdersNo string `xorm:"not null VARCHAR(32)"`
  8. CustomerId string `xorm:"VARCHAR(64)"`
  9. CustomerName string `xorm:"VARCHAR(200)"`
  10. OrgId string `xorm:"VARCHAR(64)"`
  11. CaseId string `xorm:"VARCHAR(64)"`
  12. CourseId string `xorm:"VARCHAR(64)"`
  13. CourseName string `xorm:"VARCHAR(50)"`
  14. Price string `xorm:"DECIMAL(8,2)"`
  15. CourseNum int `xorm:"INT(11)"`
  16. JoinNum int `xorm:"INT(11)"`
  17. CreateDate time.Time `xorm:"DATETIME"`
  18. Status int `xorm:"SMALLINT(6)"`
  19. PayType string `xorm:"VARCHAR(20)"`
  20. Address string `xorm:"VARCHAR(200)"`
  21. CourseDate string `xorm:"VARCHAR(200)"`
  22. Remark string `xorm:"TEXT"`
  23. IsPay int `xorm:"TINYINT(1)"`
  24. ActualAmount string `xorm:"DECIMAL(8,2)"`
  25. CouponAmount string `xorm:"DECIMAL(8,2)"`
  26. }