// 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'; /** * The model class is generated from OpenAPI schema - Role * Role */ @model({name: 'Role'}) export class Role { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) id?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) name?: string; /** * */ @property({ jsonSchema: { type: 'number', }, }) color?: number; } export interface RoleRelations { // describe navigational properties here } export type RoleWithRelations = Role & RoleRelations;