You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

tech_converge_info.go 2.0 kB

2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package models
  2. import (
  3. "code.gitea.io/gitea/modules/timeutil"
  4. )
  5. type TechConvergeBaseInfo struct {
  6. ID int64 `xorm:"pk autoincr"`
  7. ProjectNumber string `xorm:"index"` //项目立项编号
  8. ProjectName string //科技项目名称
  9. Institution string //项目承担单位
  10. ApplyYear int //申报年度
  11. Province string //所属省(省市)
  12. Category string //单位性质
  13. Recommend string //推荐单位
  14. Owner string //项目负责人
  15. Phone string //负责人电话
  16. Email string //负责人邮箱
  17. Contact string //项目联系人
  18. ContactPhone string //联系人电话
  19. ContactEmail string //联系人邮箱
  20. ExecutePeriod int //执行周期
  21. ExecuteStartYear int //执行开始年份
  22. ExecuteEndYear int //执行结束年份
  23. ExecuteDeadLine string //执行期限
  24. Type string //项目类型
  25. StartUp timeutil.TimeStamp //启动会时间
  26. NameAndInstitution1 string
  27. NameAndInstitution2 string
  28. NameAndInstitution3 string
  29. NameAndInstitution4 string
  30. NameAndInstitution5 string
  31. AllInstitution string `xorm:"TEXT"`
  32. CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
  33. UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
  34. }
  35. type RepoConvergeInfo struct {
  36. ID int64 `xorm:"pk autoincr"`
  37. RepoID int64
  38. Url string
  39. BaseInfoID int64
  40. Institution string
  41. UID int64
  42. Status int
  43. CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
  44. UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
  45. User *User `xorm:"-"`
  46. Repo *Repository `xorm:"-"`
  47. BaseInfo *TechConvergeBaseInfo `xorm:"-"`
  48. }