import { Model , model , property } from '@loopback/repository' ; @ model ( { settings : { strict : false } } ) export class SuccessResponse extends Model { @ property ( { type : 'boolean' , } ) success ? : boolean ; [ prop ] : any ; constructor ( data ? ) { super ( data ) ; } }