export class ResponseModel { protected response : string ; affected : number ; identity : any ; constructor ( affected ? , identity ? ) { this . response = 'OK' ; if ( affected ) { this . affected = affected ; } if ( identity ) { this . identity = identity ; } } }