import { BaseClass } from '../base/base'; import { OrganizationEntity, GroupEntity, UserEntity } from '..'; import { ENTITY_ACCESS } from '../common/enum'; export declare class LabelEntity extends BaseClass { id: string; createdAt: Date; modifiedAt: Date; revision: number; title: string; description: string; color: string; /** * Organization that owns this entry * delete entity if organization is deleted */ organization: OrganizationEntity; /** * Groups within an organization that have access to this entry */ groups: GroupEntity[]; /** * Group user that created this entry * set owner to null when user is deleted */ createdByUser: UserEntity; /** * Overwrite entity access properties */ readAccessSwitch: ENTITY_ACCESS; }