// Copyright Abridged, Inc. 2023,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'; /** * The model class is generated from OpenAPI schema - Organization * Organization */ @model({name: 'Organization'}) export class Organization { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) pk?: string; /** * */ @property({ required: true, jsonSchema: { type: 'string', }, }) sk: string; /** * */ @property({ required: true, jsonSchema: { type: 'string', }, }) name: string; /** * */ @property({ required: true, jsonSchema: { type: 'string', }, }) email: string; /** * */ @property({ required: true, jsonSchema: { type: 'number', }, }) createdTime: number; /** * */ @property({ jsonSchema: { type: 'string', }, }) classifier?: string; /** * */ @property({ required: true, jsonSchema: { type: 'string', }, }) userId: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) planId?: string; } export interface OrganizationRelations { // describe navigational properties here } export type OrganizationWithRelations = Organization & OrganizationRelations;