api/modules/database/schemas/relationships/entity_curriculum_rels.py
2025-07-11 13:52:19 +00:00

15 lines
682 B
Python

from typing import ClassVar
from modules.database.tools.neontology.baserelationship import BaseRelationship
import modules.database.schemas.nodes.schools.schools as school_nodes
import modules.database.schemas.nodes.structures.schools as school_structures
class SchoolHasCurriculumStructure(BaseRelationship):
__relationshiptype__: ClassVar[str] = 'HAS_CURRICULUM_STRUCTURE'
source: school_nodes.SchoolNode
target: school_structures.CurriculumStructureNode
class SchoolHasPastoralStructure(BaseRelationship):
__relationshiptype__: ClassVar[str] = 'HAS_PASTORAL_STRUCTURE'
source: school_nodes.SchoolNode
target: school_structures.PastoralStructureNode