feat: add branch controller
This commit is contained in:
parent
e633adc67d
commit
3a53397745
1 changed files with 25 additions and 0 deletions
25
src/controllers/branch/branch-controller.ts
Normal file
25
src/controllers/branch/branch-controller.ts
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
import { Prisma } from "@prisma/client";
|
||||||
|
import {
|
||||||
|
Body,
|
||||||
|
Controller,
|
||||||
|
Delete,
|
||||||
|
Get,
|
||||||
|
Patch,
|
||||||
|
Path,
|
||||||
|
Post,
|
||||||
|
Query,
|
||||||
|
Request,
|
||||||
|
Route,
|
||||||
|
Security,
|
||||||
|
Tags,
|
||||||
|
} from "tsoa";
|
||||||
|
|
||||||
|
import prisma from "../../db";
|
||||||
|
import HttpError from "../../interfaces/http-error";
|
||||||
|
import HttpStatus from "../../interfaces/http-status";
|
||||||
|
import { RequestWithUser } from "../../interfaces/user";
|
||||||
|
@Route("api/branch")
|
||||||
|
@Tags("Branch")
|
||||||
|
@Security("keycloak")
|
||||||
|
export class BranchController extends Controller {
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue