1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
pub type UserKey = u32;
pub type GroupKey = u32;

pub type CourseKey = u32;
pub type DepartmentKey = u32;
pub type BuildingKey = u32;
pub type RoomKey = u32;
pub type TeacherKey = u32;
pub type StudentKey = u32;
pub type ClassKey = u32;
pub type ClassInstanceKey = u32;
pub type ShiftKey = u32;
pub type EnrollmentKey = u32;
pub type FileKey = u32;
pub type PlaceKey = u32;
pub type PlaceFeatureKey = u32;

//                    Limit, offset
pub type NewsPageKey = (u16, u32);
pub type NewsItemKey = u32;

pub type EventsPageKey = (u16, u32);
pub type EventKey = u32;


pub type LearningAreaKey = u32;
pub type LearningSubareaKey = u32;
pub type LearningSectionKey = u32;
pub type QuestionKey = u32;
pub type ServiceKey = u32;