directory.models.directory_entry

Classes

DirectoryEntry

A single entry of a directory.

Module Contents

class directory.models.directory_entry.DirectoryEntry[source]

Bases: onegov.core.orm.Base, onegov.core.orm.mixins.ContentMixin, onegov.gis.CoordinatesMixin, onegov.core.orm.mixins.TimestampMixin, onegov.search.SearchableContent, onegov.file.AssociatedFiles, onegov.core.orm.mixins.UTCPublicationMixin

A single entry of a directory.

__tablename__ = 'directory_entries'[source]
es_properties[source]
property es_public: bool[source]

Returns True if the model is available to be found by the public. If false, only editors/admins will see this object in the search results.

id: Column[uuid.UUID][source]
name: Column[str][source]
directory_id: Column[UUID][source]
type: Column[str][source]
order: Column[str][source]
title: Column[str][source]
lead: Column[str | None][source]
_keywords: Column[dict[str, str] | None][source]
__mapper_args__[source]
__table_args__[source]
directory: relationship[Directory][source]
property directory_name: str[source]
property keywords: set[str][source]
property text: str[source]
property values: dict[str, Any][source]