import {model, property} from '@loopback/repository'; import {UserModifiableEntity} from '@sourcefuse-npm/alivio-lib'; @model({ name: 'pending_tasks_alerts', }) export class PendingTaksAlerts extends UserModifiableEntity { @property({ type: 'number', id: true, jsonSchema: { nullable: true, }, }) id?: number; @property({ type: 'number', required: true, name:"patient_id" }) patientId: number; @property({ type: 'boolean', name:"prescription_status" }) prescriptionStatus?: boolean; @property({ type: 'boolean', name:"complete_profile_status" }) completeProfileStatus?: boolean; constructor(data?: Partial) { super(data); } }