// Copyright Abridged, Inc. 2022,2024. All Rights Reserved. // Node module: @collabland/sdk // This file is licensed under the MIT License. // License text available at https://opensource.org/license/mit/ import {model, property} from '@loopback/repository'; import {Role} from './role.model.js'; /** * The model class is generated from OpenAPI schema - GuestPassRequest * GuestPassRequest */ @model({name: 'GuestPassRequest'}) export class GuestPassRequest { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) id?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) createdTime?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) pk?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) sk?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) classifier?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) classifierGroup?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) name?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) description?: string; /** * */ @property.array(Role, { jsonSchema: { type: 'array', items: { $ref: '#/components/schemas/Role', }, }, }) roleSet?: Role[]; /** * */ @property({ jsonSchema: { type: 'string', }, }) platform?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) status?: string; /** * */ @property({ jsonSchema: { type: 'number', }, }) period?: number; } export interface GuestPassRequestRelations { // describe navigational properties here } export type GuestPassRequestWithRelations = GuestPassRequest & GuestPassRequestRelations;