import { BaseModel } from './base.model'; import { App } from './app.model'; export class AppPage extends BaseModel { static tableName = 'app_pages'; id!: string; appId!: string; slug!: string; label!: string; type!: string; objectApiName?: string; displayOrder!: number; static relationMappings = { app: { relation: BaseModel.BelongsToOneRelation, modelClass: App, join: { from: 'app_pages.appId', to: 'apps.id', }, }, }; }