劲创营---任务项目
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.
 
 
 

43 lines
2.2 KiB

  1. package md
  2. type TaskReq struct {
  3. P string `json:"p"`
  4. Size string `json:"size"`
  5. TaskType string `json:"task_type"`
  6. ApplyType string `json:"apply_type"`
  7. SettleType string `json:"settle_type"`
  8. StartTime string `json:"start_time"`
  9. EndTime string `json:"end_time"`
  10. }
  11. type TaskDetail struct {
  12. Id string `json:"id" xorm:"not null pk autoincr INT(11)"`
  13. Name string `json:"name" xorm:"comment('名称') VARCHAR(255)"`
  14. Logo string `json:"logo" xorm:"comment('logo') VARCHAR(255)"`
  15. Price string `json:"price" xorm:"default 0.00 comment('单价') DECIMAL(30,2)"`
  16. Num string `json:"num" xorm:"default 0 comment('数量') INT(11)"`
  17. FirstCid string `json:"first_cid" xorm:"default 0 INT(11)"`
  18. SecondCid string `json:"second_cid" xorm:"default 0 INT(11)"`
  19. SettleType string `json:"settle_type" xorm:"default 0 comment('0 T+1 1 T+7 2 月结') INT(11)"`
  20. StartTime string `json:"start_time" xorm:"DATETIME"`
  21. EndTime string `json:"end_time" xorm:"DATETIME"`
  22. Label []string `json:"label" xorm:"comment('关键词') VARCHAR(255)"`
  23. Contact string `json:"contact" xorm:"comment('联系方式') VARCHAR(255)"`
  24. Notice string `json:"notice"`
  25. DetailInfo []string `json:"detail_info" xorm:"comment('详情') TEXT"`
  26. VideoCourse string `json:"video_course" xorm:"comment('视频教程') VARCHAR(255)"`
  27. Instructions string `json:"instructions" xorm:"comment('特殊说明') VARCHAR(255)"`
  28. Announcement string `json:"announcement"`
  29. Remark string `json:"remark"`
  30. }
  31. type TaskAllDetail struct {
  32. IsCheck string `json:"is_check"`
  33. Id string `json:"id" xorm:"not null pk autoincr INT(11)"`
  34. Name string `json:"name" xorm:"comment('名称') VARCHAR(255)"`
  35. Icon string `json:"icon" xorm:"comment('logo') VARCHAR(255)"`
  36. Price string `json:"price" xorm:"default 0.00 comment('单价') DECIMAL(30,2)"`
  37. Num string `json:"num" xorm:"default 0 comment('数量') INT(11)"`
  38. Timer string `json:"start_time" xorm:"DATETIME"`
  39. Label []string `json:"label" xorm:"comment('关键词') VARCHAR(255)"`
  40. DetailInfo []string `json:"detail_info" xorm:"comment('关键词') VARCHAR(255)"`
  41. }