user.models.group

Classes

UserGroup

Defines a generic user group.

Module Contents

class user.models.group.UserGroup[source]

Bases: onegov.core.orm.Base, onegov.core.orm.mixins.ContentMixin, onegov.core.orm.mixins.TimestampMixin

Defines a generic user group.

__tablename__ = 'groups'[source]
type: sqlalchemy.Column[str][source]
__mapper_args__[source]
id: sqlalchemy.Column[uuid.UUID][source]
name: sqlalchemy.Column[str | None][source]
users: sqlalchemy.orm.relationship[onegov.core.types.AppenderQuery[onegov.user.User]][source]
role_mappings: sqlalchemy.orm.relationship[onegov.core.types.AppenderQuery[onegov.user.RoleMapping]][source]