import {Entity, model, property} from '@loopback/repository'; @model({settings: {strict: false}}) export class DelhiveryRates extends Entity { @property({ type: 'number', id: true, generated: true, }) rateID?: number; @property({ type: 'string', required: true, }) originISO: string; @property({ type: 'string', required: true, }) destinationZoneID: string; @property({ type: 'number', required: true, }) currency: number; @property({ type: 'number', required: true, }) rate: number; @property({ type: 'string', required: true, }) serviceType: string; @property({ type: 'string', required: true, }) weightUnit: string; @property({ type: 'number', required: true, }) weight: number; @property({ type: 'string', required: true, }) deliveryDays: string; @property({ type: 'date', }) createdDate?: string; @property({ type: 'date', }) modifiedDate?: string; // 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 DelhiveryRatesRelations { // describe navigational properties here } export type DelhiveryRatesWithRelations = DelhiveryRates & DelhiveryRatesRelations;