import {Entity, model, property} from '@loopback/repository'; @model() export class Provider extends Entity { @property({ type: 'number', id: true, generated: true, }) id?: number; @property({ type: 'string', required: true, }) client_id: string; @property({ type: 'string', required: true, }) client_secret: string; @property({ type: 'string', }) name?: string; @property({ type: 'boolean', required: true, }) is_deleted: boolean; // Define well-known properties here // Indexer property to allow additional data // eslint-disable-next-line @typescript-eslint/no-explicit-any [prop: string]: any; constructor(data?: Partial) { super(data); } } export interface ProviderRelations { // describe navigational properties here } export type ProviderWithRelations = Provider & ProviderRelations;