Hi,
i'm working on a site for a university.
I have the structure of the objects and the relationships between them and i need help to translate it in a right way with Toolset.
Wordpress: 4.9.5
Toolset Types 3.0-RC
Toolset Views 2.6-RC2
cities: (num 2+) C
degree programs: (num 4+) P
kind of degree programs: (num 2+) K
courses (num 40+) CS
teacher: (num 30+) T
projects: (num 40+) PJ
academic year: (years from '80) AA
There are 2 cities:
- city C1
- city C2
4 degree programs:
- 1 program (P1) for city C1,
- the others 3 programs ( P2 - P3 - P4) for city C2
--- many programs could be assigned to one city
2 kind of degree programs:
- 2 programs (P1 - P2) are 3 year degree (K1)
- the others 2 programs (P3 - P4) are 2 year degree (K2)
--- one kind could be assigned to many programs
40+ courses
--- many courses could be assigned to one programs (CS1-10 to P1, CS11-20 to P2, CS21-30 to P3, CS31-30 to P4)
30+ teachers
--- many teachers could be assigned to many courses
50+ projects
--- many projects could be assigned to one programs
--- many projects could be assigned to many courses in the same program
--- many projects could be assigned to many teachers
academic year
It's like aa2020-2021, period from nov2020 to nov 2021
--- one year could be assigned to many projects
* at today we want to leave this as custom post type, maybe to connect it in future with others custom post types
And the proposed structure:
- Cities / Parent CPT
-- Degree programs / Child CPT
-- Kind of degree programs / Taxonomy?
--- Courses / SubChild CPT
- Teacher / CPT
- Projects / CPT
- Academic year / CPT
With this structure the remaing relantionships to achieve could be:
--- many teachers could be assigned to many courses
--- many projects could be assigned to one programs
--- many projects could be assigned to many courses in the same program
--- many projects could be assigned to many teachers
--- one year could be assigned to many projects
Do you think that this structure and the relationships are a good way to implement it in toolset?