1
0

models.go 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. package api
  2. type Professionalmodule struct {
  3. ID uint
  4. Name string
  5. Shortname string
  6. IDCycle uint
  7. }
  8. type Cycle struct {
  9. ID uint
  10. Name string
  11. Shortname string
  12. }
  13. type Lesson struct {
  14. ID uint
  15. Timestart string
  16. Timeend string
  17. }
  18. type Attestation struct {
  19. ID uint
  20. Name string
  21. Shortname string
  22. }
  23. type Subjectofgroup struct {
  24. ID uint
  25. IDSubject uint
  26. IDGroup uint
  27. IDTeacher uint
  28. IDSemester uint
  29. IDAttestation uint
  30. Hoursquantity uint
  31. }
  32. type Subject struct {
  33. ID uint
  34. Name string
  35. Shortname string
  36. ID_professionalmodule uint
  37. IDStype uint
  38. }
  39. type Group struct {
  40. ID uint
  41. IDSpecialty uint
  42. Year uint
  43. IDTeacher uint
  44. Groupnumber string
  45. Studentsquantity uint
  46. }
  47. type Semester struct {
  48. ID uint
  49. Weeksquantity uint
  50. }
  51. type Teacher struct {
  52. ID uint
  53. Name string
  54. IDClassroom uint
  55. Surname string
  56. Patronymic string
  57. }
  58. type Scheduleofgroup struct {
  59. ID uint
  60. IDSubject uint
  61. IDGroup uint
  62. IDSchedule uint
  63. IDLessonnumber uint
  64. IDClassroom uint
  65. }
  66. type Schedule struct {
  67. ID uint
  68. IsShort bool
  69. IDGroup uint
  70. IsEvenWeek bool
  71. Weekday string
  72. }
  73. type Classroom struct {
  74. ID uint
  75. Placequantity uint
  76. Iscomputer bool
  77. IDBuilding uint
  78. Name string
  79. }
  80. type Building struct {
  81. ID uint
  82. Address string
  83. }
  84. type Specialty struct {
  85. ID uint
  86. Code string
  87. Name string
  88. IDDuration uint
  89. }
  90. type DurationOfStudy struct {
  91. ID uint
  92. Yearsquantity uint
  93. }
  94. type Subjecttype struct {
  95. ID uint
  96. Name string
  97. }
  98. type Subjectofplan struct {
  99. ID uint
  100. IDPlan uint
  101. IDSubject uint
  102. Hoursquantitytotal uint
  103. idepentwork uint
  104. consulthours uint
  105. }
  106. type Studyplan struct {
  107. ID uint
  108. IDSpecialty uint
  109. }