From 3c0a39a8c4e1ee559d81052d67a873d0889fd89e Mon Sep 17 00:00:00 2001 From: kittapath Date: Fri, 18 Oct 2024 11:45:16 +0700 Subject: [PATCH] no message --- .../ProfileEmployeeTempController.ts | 1 - .../ProfileFamilyCoupleEmployeeController.ts | 14 +------------ ...ofileFamilyCoupleEmployeeTempController.ts | 14 +------------ .../ProfileFamilyFatherController.ts | 14 +------------ .../ProfileFamilyFatherEmployeeController.ts | 14 +------------ ...ofileFamilyFatherEmployeeTempController.ts | 14 +------------ .../ProfileFamilyMotherController.ts | 14 +------------ .../ProfileFamilyMotherEmployeeController.ts | 14 +------------ ...ofileFamilyMotherEmployeeTempController.ts | 14 +------------ .../ProfileGovernmentEmployeeController.ts | 21 ++----------------- ...ProfileGovernmentEmployeeTempController.ts | 21 ++----------------- .../ProfileOtherEmployeeTempController.ts | 1 - src/controllers/ProfileSalaryController.ts | 1 - .../ProfileTrainingEmployeeController.ts | 1 - .../ProfileTrainingEmployeeTempController.ts | 1 - src/controllers/ProvinceController.ts | 1 - src/controllers/RankController.ts | 1 - src/controllers/RelationshipController.ts | 2 -- src/controllers/ReligionController.ts | 1 - src/controllers/SubDistrictController.ts | 1 - src/controllers/UserController.ts | 4 ---- src/controllers/WorkflowController.ts | 4 ++-- src/entities/Assign.ts | 1 - src/entities/AuthRole.ts | 2 +- src/entities/AuthRoleAttr.ts | 2 +- src/entities/BloodGroup.ts | 4 +--- src/entities/ChangePosition.ts | 2 +- src/entities/CommandRecive.ts | 2 +- src/entities/CommandSys.ts | 1 - src/entities/Gender.ts | 4 +--- src/entities/HR_EDUCATION.ts | 2 +- src/entities/HR_EDUCATION_EMP.ts | 2 +- src/entities/HR_PERSONAL_EMP_ADDRESS.ts | 2 +- src/entities/HR_PERSONAL_EMP_FAMILY.ts | 2 +- src/entities/HR_PERSONAL_OFFICER_ADDRESS.ts | 2 +- src/entities/HR_PERSONAL_OFFICER_FAMILY.ts | 2 +- src/entities/HR_POSITION_OFFICER.ts | 2 +- 37 files changed, 27 insertions(+), 178 deletions(-) diff --git a/src/controllers/ProfileEmployeeTempController.ts b/src/controllers/ProfileEmployeeTempController.ts index 10a1f9f9..cc096c45 100644 --- a/src/controllers/ProfileEmployeeTempController.ts +++ b/src/controllers/ProfileEmployeeTempController.ts @@ -62,7 +62,6 @@ import { } from "../entities/ProfileEmployeeEmployment"; import { ProfileEmployeeEmploymentHistory } from "../entities/ProfileEmployeeEmploymentHistory"; import CallAPI from "../interfaces/call-api"; -import { EmployeePosition } from "../entities/EmployeePosition"; import { ProfileInsignia } from "../entities/ProfileInsignia"; import { ProfileLeave } from "../entities/ProfileLeave"; import permission from "../interfaces/permission"; diff --git a/src/controllers/ProfileFamilyCoupleEmployeeController.ts b/src/controllers/ProfileFamilyCoupleEmployeeController.ts index be5b2e79..236bfc27 100644 --- a/src/controllers/ProfileFamilyCoupleEmployeeController.ts +++ b/src/controllers/ProfileFamilyCoupleEmployeeController.ts @@ -1,16 +1,4 @@ -import { - Body, - Controller, - Example, - Get, - Patch, - Path, - Post, - Request, - Route, - Security, - Tags, -} from "tsoa"; +import { Body, Controller, Get, Patch, Path, Post, Request, Route, Security, Tags } from "tsoa"; import { AppDataSource } from "../database/data-source"; import HttpSuccess from "../interfaces/http-success"; import HttpStatus from "../interfaces/http-status"; diff --git a/src/controllers/ProfileFamilyCoupleEmployeeTempController.ts b/src/controllers/ProfileFamilyCoupleEmployeeTempController.ts index 55262930..331cd829 100644 --- a/src/controllers/ProfileFamilyCoupleEmployeeTempController.ts +++ b/src/controllers/ProfileFamilyCoupleEmployeeTempController.ts @@ -1,16 +1,4 @@ -import { - Body, - Controller, - Example, - Get, - Patch, - Path, - Post, - Request, - Route, - Security, - Tags, -} from "tsoa"; +import { Body, Controller, Get, Patch, Path, Post, Request, Route, Security, Tags } from "tsoa"; import { AppDataSource } from "../database/data-source"; import HttpSuccess from "../interfaces/http-success"; import HttpStatus from "../interfaces/http-status"; diff --git a/src/controllers/ProfileFamilyFatherController.ts b/src/controllers/ProfileFamilyFatherController.ts index 2a8ea184..2ab32ec5 100644 --- a/src/controllers/ProfileFamilyFatherController.ts +++ b/src/controllers/ProfileFamilyFatherController.ts @@ -1,16 +1,4 @@ -import { - Body, - Controller, - Example, - Get, - Patch, - Path, - Post, - Request, - Route, - Security, - Tags, -} from "tsoa"; +import { Body, Controller, Get, Patch, Path, Post, Request, Route, Security, Tags } from "tsoa"; import { AppDataSource } from "../database/data-source"; import HttpSuccess from "../interfaces/http-success"; import HttpStatus from "../interfaces/http-status"; diff --git a/src/controllers/ProfileFamilyFatherEmployeeController.ts b/src/controllers/ProfileFamilyFatherEmployeeController.ts index 3bd3f44d..2fcf5ed0 100644 --- a/src/controllers/ProfileFamilyFatherEmployeeController.ts +++ b/src/controllers/ProfileFamilyFatherEmployeeController.ts @@ -1,16 +1,4 @@ -import { - Body, - Controller, - Example, - Get, - Patch, - Path, - Post, - Request, - Route, - Security, - Tags, -} from "tsoa"; +import { Body, Controller, Get, Patch, Path, Post, Request, Route, Security, Tags } from "tsoa"; import { AppDataSource } from "../database/data-source"; import HttpSuccess from "../interfaces/http-success"; import HttpStatus from "../interfaces/http-status"; diff --git a/src/controllers/ProfileFamilyFatherEmployeeTempController.ts b/src/controllers/ProfileFamilyFatherEmployeeTempController.ts index 3436df28..6fe38d9b 100644 --- a/src/controllers/ProfileFamilyFatherEmployeeTempController.ts +++ b/src/controllers/ProfileFamilyFatherEmployeeTempController.ts @@ -1,16 +1,4 @@ -import { - Body, - Controller, - Example, - Get, - Patch, - Path, - Post, - Request, - Route, - Security, - Tags, -} from "tsoa"; +import { Body, Controller, Get, Patch, Path, Post, Request, Route, Security, Tags } from "tsoa"; import { AppDataSource } from "../database/data-source"; import HttpSuccess from "../interfaces/http-success"; import HttpStatus from "../interfaces/http-status"; diff --git a/src/controllers/ProfileFamilyMotherController.ts b/src/controllers/ProfileFamilyMotherController.ts index 00c8e9b8..cf9ce87a 100644 --- a/src/controllers/ProfileFamilyMotherController.ts +++ b/src/controllers/ProfileFamilyMotherController.ts @@ -1,16 +1,4 @@ -import { - Body, - Controller, - Example, - Get, - Patch, - Path, - Post, - Request, - Route, - Security, - Tags, -} from "tsoa"; +import { Body, Controller, Get, Patch, Path, Post, Request, Route, Security, Tags } from "tsoa"; import { AppDataSource } from "../database/data-source"; import HttpSuccess from "../interfaces/http-success"; import HttpStatus from "../interfaces/http-status"; diff --git a/src/controllers/ProfileFamilyMotherEmployeeController.ts b/src/controllers/ProfileFamilyMotherEmployeeController.ts index 1afe0344..f0b34986 100644 --- a/src/controllers/ProfileFamilyMotherEmployeeController.ts +++ b/src/controllers/ProfileFamilyMotherEmployeeController.ts @@ -1,16 +1,4 @@ -import { - Body, - Controller, - Example, - Get, - Patch, - Path, - Post, - Request, - Route, - Security, - Tags, -} from "tsoa"; +import { Body, Controller, Get, Patch, Path, Post, Request, Route, Security, Tags } from "tsoa"; import { AppDataSource } from "../database/data-source"; import HttpSuccess from "../interfaces/http-success"; import HttpStatus from "../interfaces/http-status"; diff --git a/src/controllers/ProfileFamilyMotherEmployeeTempController.ts b/src/controllers/ProfileFamilyMotherEmployeeTempController.ts index 6884cd5d..102170b9 100644 --- a/src/controllers/ProfileFamilyMotherEmployeeTempController.ts +++ b/src/controllers/ProfileFamilyMotherEmployeeTempController.ts @@ -1,16 +1,4 @@ -import { - Body, - Controller, - Example, - Get, - Patch, - Path, - Post, - Request, - Route, - Security, - Tags, -} from "tsoa"; +import { Body, Controller, Get, Patch, Path, Post, Request, Route, Security, Tags } from "tsoa"; import { AppDataSource } from "../database/data-source"; import HttpSuccess from "../interfaces/http-success"; import HttpStatus from "../interfaces/http-status"; diff --git a/src/controllers/ProfileGovernmentEmployeeController.ts b/src/controllers/ProfileGovernmentEmployeeController.ts index 0a1d3265..0ca52f83 100644 --- a/src/controllers/ProfileGovernmentEmployeeController.ts +++ b/src/controllers/ProfileGovernmentEmployeeController.ts @@ -1,28 +1,11 @@ -import { - Body, - Controller, - Example, - Get, - Patch, - Path, - Delete, - Post, - Request, - Route, - Security, - Tags, -} from "tsoa"; +import { Body, Controller, Example, Get, Patch, Path, Request, Route, Security, Tags } from "tsoa"; import { AppDataSource } from "../database/data-source"; import HttpSuccess from "../interfaces/http-success"; import HttpStatus from "../interfaces/http-status"; import HttpError from "../interfaces/http-error"; import { RequestWithUser } from "../middlewares/user"; import { ProfileEmployee } from "../entities/ProfileEmployee"; -import { - CreateProfileEmployeeGovernment, - ProfileGovernment, - UpdateProfileGovernment, -} from "../entities/ProfileGovernment"; +import { ProfileGovernment, UpdateProfileGovernment } from "../entities/ProfileGovernment"; import { EmployeePosition } from "../entities/EmployeePosition"; import { EmployeePosMaster } from "../entities/EmployeePosMaster"; import { calculateAge, calculateRetireDate, setLogDataDiff } from "../interfaces/utils"; diff --git a/src/controllers/ProfileGovernmentEmployeeTempController.ts b/src/controllers/ProfileGovernmentEmployeeTempController.ts index d6e60fb3..b5b49944 100644 --- a/src/controllers/ProfileGovernmentEmployeeTempController.ts +++ b/src/controllers/ProfileGovernmentEmployeeTempController.ts @@ -1,28 +1,11 @@ -import { - Body, - Controller, - Example, - Get, - Patch, - Path, - Delete, - Post, - Request, - Route, - Security, - Tags, -} from "tsoa"; +import { Body, Controller, Example, Get, Patch, Path, Request, Route, Security, Tags } from "tsoa"; import { AppDataSource } from "../database/data-source"; import HttpSuccess from "../interfaces/http-success"; import HttpStatus from "../interfaces/http-status"; import HttpError from "../interfaces/http-error"; import { RequestWithUser } from "../middlewares/user"; import { ProfileEmployee } from "../entities/ProfileEmployee"; -import { - CreateProfileEmployeeGovernment, - ProfileGovernment, - UpdateProfileGovernment, -} from "../entities/ProfileGovernment"; +import { ProfileGovernment, UpdateProfileGovernment } from "../entities/ProfileGovernment"; import { EmployeePosition } from "../entities/EmployeePosition"; import { EmployeePosMaster } from "../entities/EmployeePosMaster"; import { calculateAge, calculateRetireDate, setLogDataDiff } from "../interfaces/utils"; diff --git a/src/controllers/ProfileOtherEmployeeTempController.ts b/src/controllers/ProfileOtherEmployeeTempController.ts index 5911d17b..dfc7b00c 100644 --- a/src/controllers/ProfileOtherEmployeeTempController.ts +++ b/src/controllers/ProfileOtherEmployeeTempController.ts @@ -2,7 +2,6 @@ import { Body, Controller, Delete, - Example, Get, Patch, Path, diff --git a/src/controllers/ProfileSalaryController.ts b/src/controllers/ProfileSalaryController.ts index e35dc280..a7fbea2c 100644 --- a/src/controllers/ProfileSalaryController.ts +++ b/src/controllers/ProfileSalaryController.ts @@ -2,7 +2,6 @@ import { Body, Controller, Delete, - Example, Get, Patch, Path, diff --git a/src/controllers/ProfileTrainingEmployeeController.ts b/src/controllers/ProfileTrainingEmployeeController.ts index 88fd61d7..cd1d0f41 100644 --- a/src/controllers/ProfileTrainingEmployeeController.ts +++ b/src/controllers/ProfileTrainingEmployeeController.ts @@ -2,7 +2,6 @@ import { Body, Controller, Delete, - Example, Get, Patch, Path, diff --git a/src/controllers/ProfileTrainingEmployeeTempController.ts b/src/controllers/ProfileTrainingEmployeeTempController.ts index 8cbe6183..324f60c0 100644 --- a/src/controllers/ProfileTrainingEmployeeTempController.ts +++ b/src/controllers/ProfileTrainingEmployeeTempController.ts @@ -2,7 +2,6 @@ import { Body, Controller, Delete, - Example, Get, Patch, Path, diff --git a/src/controllers/ProvinceController.ts b/src/controllers/ProvinceController.ts index 24142a45..56433c93 100644 --- a/src/controllers/ProvinceController.ts +++ b/src/controllers/ProvinceController.ts @@ -9,7 +9,6 @@ import { Body, Path, Request, - SuccessResponse, Response, Get, } from "tsoa"; diff --git a/src/controllers/RankController.ts b/src/controllers/RankController.ts index adc8fe6f..a23f9692 100644 --- a/src/controllers/RankController.ts +++ b/src/controllers/RankController.ts @@ -9,7 +9,6 @@ import { Body, Path, Request, - SuccessResponse, Response, Get, } from "tsoa"; diff --git a/src/controllers/RelationshipController.ts b/src/controllers/RelationshipController.ts index 2c3da7d8..0d446a98 100644 --- a/src/controllers/RelationshipController.ts +++ b/src/controllers/RelationshipController.ts @@ -9,7 +9,6 @@ import { Body, Path, Request, - SuccessResponse, Response, Get, } from "tsoa"; @@ -21,7 +20,6 @@ import { CreateRelationship, Relationship } from "../entities/Relationship"; import { Not } from "typeorm"; import { RequestWithUser } from "../middlewares/user"; import { setLogDataDiff } from "../interfaces/utils"; -import { request } from "axios"; @Route("api/v1/org/metadata/relationship") @Tags("Relationship") @Security("bearerAuth") diff --git a/src/controllers/ReligionController.ts b/src/controllers/ReligionController.ts index 624ed6f5..baf1a821 100644 --- a/src/controllers/ReligionController.ts +++ b/src/controllers/ReligionController.ts @@ -9,7 +9,6 @@ import { Body, Path, Request, - SuccessResponse, Response, Get, } from "tsoa"; diff --git a/src/controllers/SubDistrictController.ts b/src/controllers/SubDistrictController.ts index 2e212fc9..8c329354 100644 --- a/src/controllers/SubDistrictController.ts +++ b/src/controllers/SubDistrictController.ts @@ -9,7 +9,6 @@ import { Body, Path, Request, - SuccessResponse, Response, Get, } from "tsoa"; diff --git a/src/controllers/UserController.ts b/src/controllers/UserController.ts index bb6ece7d..c04b82c5 100644 --- a/src/controllers/UserController.ts +++ b/src/controllers/UserController.ts @@ -30,15 +30,11 @@ import { getRoleMappings, getUserCount, enableStatus, - getUserCountOrg, - getUserListOrg, } from "../keycloak"; import { AppDataSource } from "../database/data-source"; import { Profile } from "../entities/Profile"; import { ProfileEmployee } from "../entities/ProfileEmployee"; -import { IsNull, Not } from "typeorm"; import { RequestWithUser } from "../middlewares/user"; -import permission from "../interfaces/permission"; // import * as io from "../lib/websocket"; // import elasticsearch from "../elasticsearch"; // import { StorageFolder } from "../interfaces/storage-fs"; diff --git a/src/controllers/WorkflowController.ts b/src/controllers/WorkflowController.ts index c5d447ed..3619f4bc 100644 --- a/src/controllers/WorkflowController.ts +++ b/src/controllers/WorkflowController.ts @@ -561,8 +561,8 @@ export class WorkflowController extends Controller { throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลขั้นตอนการอนุมัติ"); let _null: any = null; stateUserComment.isAccept = body.isAccept == null ? _null : body.isAccept; - stateUserComment.isApprove = body.isApprove == null ? _null : body.isAccept; - stateUserComment.reason = body.reason == null ? _null : body.isAccept; + stateUserComment.isApprove = body.isApprove == null ? _null : body.isApprove; + stateUserComment.reason = body.reason == null ? _null : body.reason; stateUserComment.lastUpdateUserId = req.user.sub; stateUserComment.lastUpdateFullName = req.user.name; stateUserComment.lastUpdatedAt = new Date(); diff --git a/src/entities/Assign.ts b/src/entities/Assign.ts index ea331d01..96dbaf75 100644 --- a/src/entities/Assign.ts +++ b/src/entities/Assign.ts @@ -8,7 +8,6 @@ import { ManyToOne, JoinColumn, } from "typeorm"; -import { CommandType } from "./CommandType"; import { PosMasterAssign } from "./PosMasterAssign"; import { CommandSys } from "./CommandSys"; diff --git a/src/entities/AuthRole.ts b/src/entities/AuthRole.ts index e6de3abc..d3df0a36 100644 --- a/src/entities/AuthRole.ts +++ b/src/entities/AuthRole.ts @@ -1,4 +1,4 @@ -import { Entity, Column, OneToMany, OneToOne } from "typeorm"; +import { Entity, Column, OneToMany } from "typeorm"; import { EntityBase } from "./base/Base"; import { AuthRoleAttr } from "./AuthRoleAttr"; import { PosMaster } from "./PosMaster"; diff --git a/src/entities/AuthRoleAttr.ts b/src/entities/AuthRoleAttr.ts index 429d926c..ec77ddd7 100644 --- a/src/entities/AuthRoleAttr.ts +++ b/src/entities/AuthRoleAttr.ts @@ -1,4 +1,4 @@ -import { Entity, Column, OneToMany, ManyToOne, JoinColumn } from "typeorm"; +import { Entity, Column, ManyToOne, JoinColumn } from "typeorm"; import { EntityBase } from "./base/Base"; import { AuthSys } from "./AuthSys"; import { AuthRole } from "./AuthRole"; diff --git a/src/entities/BloodGroup.ts b/src/entities/BloodGroup.ts index 3a65fb35..0b2a0c6a 100644 --- a/src/entities/BloodGroup.ts +++ b/src/entities/BloodGroup.ts @@ -1,7 +1,5 @@ -import { Entity, Column, OneToMany } from "typeorm"; +import { Entity, Column } from "typeorm"; import { EntityBase } from "./base/Base"; -import { Profile } from "./Profile"; -import { ProfileEmployee } from "./ProfileEmployee"; @Entity("bloodGroup") export class BloodGroup extends EntityBase { diff --git a/src/entities/ChangePosition.ts b/src/entities/ChangePosition.ts index 907ef018..cb085324 100644 --- a/src/entities/ChangePosition.ts +++ b/src/entities/ChangePosition.ts @@ -1,4 +1,4 @@ -import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm"; +import { Entity, Column, OneToMany } from "typeorm"; import { EntityBase } from "./base/Base"; import { ProfileChangePosition } from "./ProfileChangePosition"; diff --git a/src/entities/CommandRecive.ts b/src/entities/CommandRecive.ts index d719b6bd..2e9c62d6 100644 --- a/src/entities/CommandRecive.ts +++ b/src/entities/CommandRecive.ts @@ -1,4 +1,4 @@ -import { Entity, Column, JoinColumn, ManyToOne, OneToMany, Double } from "typeorm"; +import { Entity, Column, JoinColumn, ManyToOne, Double } from "typeorm"; import { EntityBase } from "./base/Base"; import { Command } from "./Command"; diff --git a/src/entities/CommandSys.ts b/src/entities/CommandSys.ts index 7e50f3ae..0e7634b3 100644 --- a/src/entities/CommandSys.ts +++ b/src/entities/CommandSys.ts @@ -9,7 +9,6 @@ import { import { CommandType } from "./CommandType"; import { CommandSalary } from "./CommandSalary"; import { Assign } from "./Assign"; -import { Workflow } from "./Workflow"; @Entity("commandSys") export class CommandSys { diff --git a/src/entities/Gender.ts b/src/entities/Gender.ts index 34c1c799..b3e8dda2 100644 --- a/src/entities/Gender.ts +++ b/src/entities/Gender.ts @@ -1,7 +1,5 @@ -import { Entity, Column, OneToMany } from "typeorm"; +import { Entity, Column } from "typeorm"; import { EntityBase } from "./base/Base"; -import { Profile } from "./Profile"; -import { ProfileEmployee } from "./ProfileEmployee"; @Entity("gender") export class Gender extends EntityBase { diff --git a/src/entities/HR_EDUCATION.ts b/src/entities/HR_EDUCATION.ts index 0bf28924..1101b60f 100644 --- a/src/entities/HR_EDUCATION.ts +++ b/src/entities/HR_EDUCATION.ts @@ -1,4 +1,4 @@ -import { Entity, Column, OneToMany, OneToOne, PrimaryGeneratedColumn } from "typeorm"; +import { Entity, Column, PrimaryGeneratedColumn } from "typeorm"; @Entity("HR_EDUCATION") export class HR_EDUCATION { diff --git a/src/entities/HR_EDUCATION_EMP.ts b/src/entities/HR_EDUCATION_EMP.ts index ea6f6e42..add09acb 100644 --- a/src/entities/HR_EDUCATION_EMP.ts +++ b/src/entities/HR_EDUCATION_EMP.ts @@ -1,4 +1,4 @@ -import { Entity, Column, OneToMany, OneToOne, PrimaryGeneratedColumn } from "typeorm"; +import { Entity, Column, PrimaryGeneratedColumn } from "typeorm"; @Entity("HR_EDUCATION_EMP") export class HR_EDUCATION_EMP { diff --git a/src/entities/HR_PERSONAL_EMP_ADDRESS.ts b/src/entities/HR_PERSONAL_EMP_ADDRESS.ts index 9f4a4060..ac66e666 100644 --- a/src/entities/HR_PERSONAL_EMP_ADDRESS.ts +++ b/src/entities/HR_PERSONAL_EMP_ADDRESS.ts @@ -1,4 +1,4 @@ -import { Entity, Column, OneToMany, OneToOne, PrimaryGeneratedColumn } from "typeorm"; +import { Entity, Column, PrimaryGeneratedColumn } from "typeorm"; @Entity("HR_PERSONAL_EMP_ADDRESS") export class HR_PERSONAL_EMP_ADDRESS { diff --git a/src/entities/HR_PERSONAL_EMP_FAMILY.ts b/src/entities/HR_PERSONAL_EMP_FAMILY.ts index 94be8567..f27574de 100644 --- a/src/entities/HR_PERSONAL_EMP_FAMILY.ts +++ b/src/entities/HR_PERSONAL_EMP_FAMILY.ts @@ -1,4 +1,4 @@ -import { Entity, Column, OneToMany, OneToOne, PrimaryGeneratedColumn } from "typeorm"; +import { Entity, Column, PrimaryGeneratedColumn } from "typeorm"; @Entity("HR_PERSONAL_EMP_FAMILY") export class HR_PERSONAL_EMP_FAMILY { diff --git a/src/entities/HR_PERSONAL_OFFICER_ADDRESS.ts b/src/entities/HR_PERSONAL_OFFICER_ADDRESS.ts index 23eea039..ad253be9 100644 --- a/src/entities/HR_PERSONAL_OFFICER_ADDRESS.ts +++ b/src/entities/HR_PERSONAL_OFFICER_ADDRESS.ts @@ -1,4 +1,4 @@ -import { Entity, Column, OneToMany, OneToOne, PrimaryGeneratedColumn } from "typeorm"; +import { Entity, Column, PrimaryGeneratedColumn } from "typeorm"; @Entity("HR_PERSONAL_OFFICER_ADDRESS") export class HR_PERSONAL_OFFICER_ADDRESS { diff --git a/src/entities/HR_PERSONAL_OFFICER_FAMILY.ts b/src/entities/HR_PERSONAL_OFFICER_FAMILY.ts index c772ed39..9f334e09 100644 --- a/src/entities/HR_PERSONAL_OFFICER_FAMILY.ts +++ b/src/entities/HR_PERSONAL_OFFICER_FAMILY.ts @@ -1,4 +1,4 @@ -import { Entity, Column, OneToMany, OneToOne, PrimaryGeneratedColumn } from "typeorm"; +import { Entity, Column, PrimaryGeneratedColumn } from "typeorm"; @Entity("HR_PERSONAL_OFFICER_FAMILY") export class HR_PERSONAL_OFFICER_FAMILY { diff --git a/src/entities/HR_POSITION_OFFICER.ts b/src/entities/HR_POSITION_OFFICER.ts index 8e8ff97d..02364867 100644 --- a/src/entities/HR_POSITION_OFFICER.ts +++ b/src/entities/HR_POSITION_OFFICER.ts @@ -1,4 +1,4 @@ -import { Entity, Column, OneToMany, OneToOne, PrimaryGeneratedColumn } from "typeorm"; +import { Entity, Column, PrimaryGeneratedColumn } from "typeorm"; @Entity("HR_POSITION_OFFICER") export class HR_POSITION_OFFICER {