checkpoint

This commit is contained in:
AdisakKanthawilang 2024-01-25 10:13:36 +07:00
parent ba60192ec1
commit d737ecdf11
11 changed files with 452 additions and 49 deletions

View file

@ -0,0 +1,18 @@
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;