Links
Link
- pydantic model crudcreator.Link.Link[source]
Represents a link to an entity type.
- field entity_type_linked_to: AbstractCRUDableEntityType [Required][source]
The type of entity to which the link is pointing.
LinkType
- pydantic model crudcreator.LinkType.LinkType[source]
Represents the cardinality of a relationship between two types of entities (“one-to-one”, “one-to-many”, ‘many-to-many”, “zero or one - to - many”, etc).
- field dest: CardinalityRange [Required][source]
The number of destination entities allowed.
- field source: CardinalityRange [Required][source]
The number of source entities allowed.
CardinalityRange
- pydantic model crudcreator.LinkType.CardinalityRange[source]
Cardinality interval.
- field max: Cardinality [Required][source]
The upper bound of the interval.
- field min: Cardinality [Required][source]
The lower bound of the interval.