// Copyright Abridged, Inc. 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 - UserAd * UserAd */ @model({name: 'UserAd'}) export class UserAd { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * Ad text */ @property({ jsonSchema: { type: 'string', description: 'Ad text', }, }) adText?: string; /** * Ad image URL */ @property({ jsonSchema: { type: 'string', description: 'Ad image URL', }, }) adImage?: string; /** * Ad link URL */ @property({ jsonSchema: { type: 'string', description: 'Ad link URL', }, }) url?: string; } export interface UserAdRelations { // describe navigational properties here } export type UserAdWithRelations = UserAd & UserAdRelations;