common.go 677 B

123456789101112131415161718192021222324252627282930313233
  1. package project
  2. import (
  3. "server/dao"
  4. "time"
  5. )
  6. type ReqProject struct {
  7. ID uint `json:"id"` //ID
  8. ProjectName string `json:"projectName"` //名称
  9. StartTime time.Time `json:"startTime"` //开始时间
  10. Remark string `json:"remark"` //备注
  11. }
  12. type ProjectDetails struct {
  13. Project dao.Project `json:"project"`
  14. RelationDev RelationDev `json:"relationDev"`
  15. }
  16. type RelationDev struct {
  17. Screens []dao.Screens `json:"screensList"`
  18. }
  19. type ReqChangeProjects struct {
  20. ID uint `json:"id"`
  21. ProIds []uint `json:"proIds"`
  22. }
  23. type UserProject struct {
  24. SysUserId uint `json:"sys_user_id"`
  25. ProjectId uint `json:"project_id"`
  26. }