foster care history done

This commit is contained in:
wayanrivan
2026-04-28 13:52:02 +07:00
parent 72a1eb672d
commit 4c0daf1fb0
5 changed files with 450 additions and 7 deletions

View File

@ -67,6 +67,7 @@ import { RegionController } from "../controllers/region";
import { ResponsiblePartyConsentController } from "../controllers/responsiblepartyconsent";
import { CurrencyController } from "../controllers/currency";
import { InpatientRoomController } from "../controllers/inpatient_room";
import { FosterCareHistoryController } from "../controllers/fostercarehistory";
export class RoutePrivate {
static setup(app: express.Application) {
@ -508,5 +509,12 @@ export class RoutePrivate {
app.get("/api/responsible-party-consent/body", ResponsiblePartyConsentController.body);
app.post("/api/responsible-party-consent/create", ResponsiblePartyConsentController.create);
app.put("/api/responsible-party-consent/update/:id", ResponsiblePartyConsentController.update);
app.get("/api/foster-care-history/list", FosterCareHistoryController.list);
app.post("/api/foster-care-history/create", FosterCareHistoryController.create);
app.get("/api/foster-care-history/detail/:id", FosterCareHistoryController.detail);
app.put("/api/foster-care-history/update/:id", FosterCareHistoryController.update);
app.delete("/api/foster-care-history/delete/:id/:hard", FosterCareHistoryController.delete);
app.put("/api/foster-care-history/restore/:id", FosterCareHistoryController.restore);
}
}