diff --git a/src/controllers/SalaryController.ts b/src/controllers/SalaryController.ts index 6b7f500..356b88f 100644 --- a/src/controllers/SalaryController.ts +++ b/src/controllers/SalaryController.ts @@ -27,7 +27,7 @@ import { randomUUID } from "crypto"; @Route("api/v1/salary") @Tags("Salary") @Security("bearerAuth") -export class Salary extends Controller { +export class SalaryController extends Controller { private salaryRepository = AppDataSource.getRepository(Salarys); private salaryRankRepository = AppDataSource.getRepository(SalaryRanks); private poTypeRepository = AppDataSource.getRepository(PosType); diff --git a/src/controllers/SalaryEmployeeController.ts b/src/controllers/SalaryEmployeeController.ts index 5a72c72..d2beea6 100644 --- a/src/controllers/SalaryEmployeeController.ts +++ b/src/controllers/SalaryEmployeeController.ts @@ -27,9 +27,9 @@ import { SalaryRankEmployees } from "../entities/SalaryRankEmployees"; import { randomUUID } from "crypto"; @Route("api/v1/salary/employee") -@Tags("Salary") +@Tags("SalaryEmployee") @Security("bearerAuth") -export class Salary extends Controller { +export class SalaryEmployeeController extends Controller { private salaryEmployeeRepository = AppDataSource.getRepository(SalaryEmployees); private salaryRankEmployeeRepository = AppDataSource.getRepository(SalaryRankEmployees);