ticket-booking-be/src/common/GenericResponse.model.ts
2025-02-25 12:53:59 +05:30

15 lines
271 B
TypeScript

import { Exception } from "./Exception.model";
export class GenericResponse {
public notification: Exception;
data: any
constructor(
exception: Exception,
data
) {
this.notification = exception;
this.data = data;
}
}