import HttpStatus from "./http-status";

class HttpSuccess {
  /**
   * HTTP Status Code
   */
  status: HttpStatus;
  message: string;
  result?: any;

  constructor(result?: any) {
    this.status = HttpStatus.OK;
    this.message = "สำเร็จ";
    this.result = result;
  }
}

export default HttpSuccess;
