ลบ import

This commit is contained in:
kittapath 2024-10-18 11:52:35 +07:00
parent 3c0a39a8c4
commit c7ef7be3b8
33 changed files with 25 additions and 46 deletions

View file

@ -1,6 +1,5 @@
import { Entity, Column, OneToMany } from "typeorm"; import { Entity, Column, OneToMany } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { ProfileLeave } from "./ProfileLeave"; import { ProfileLeave } from "./ProfileLeave";
@Entity("leaveType") @Entity("leaveType")

View file

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { MetaState } from "./MetaState"; import { MetaState } from "./MetaState";

View file

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToMany, PrimaryGeneratedColumn } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { OrgRoot } from "./OrgRoot"; import { OrgRoot } from "./OrgRoot";
import { OrgChild2 } from "./OrgChild2"; import { OrgChild2 } from "./OrgChild2";

View file

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToOne, OneToMany } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { OrgRoot } from "./OrgRoot"; import { OrgRoot } from "./OrgRoot";
import { OrgChild1 } from "./OrgChild1"; import { OrgChild1 } from "./OrgChild1";

View file

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToOne, OneToMany } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { OrgRoot } from "./OrgRoot"; import { OrgRoot } from "./OrgRoot";
import { OrgChild1 } from "./OrgChild1"; import { OrgChild1 } from "./OrgChild1";

View file

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToOne, OneToMany } from "typeorm"; import { Entity, Column, OneToMany } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { OrgRoot } from "./OrgRoot"; import { OrgRoot } from "./OrgRoot";
import { PosMaster } from "./PosMaster"; import { PosMaster } from "./PosMaster";

View file

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToMany, ManyToMany } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { OrgChild1 } from "./OrgChild1"; import { OrgChild1 } from "./OrgChild1";
import { OrgRevision } from "./OrgRevision"; import { OrgRevision } from "./OrgRevision";
@ -6,7 +6,6 @@ import { OrgChild2 } from "./OrgChild2";
import { OrgChild3 } from "./OrgChild3"; import { OrgChild3 } from "./OrgChild3";
import { OrgChild4 } from "./OrgChild4"; import { OrgChild4 } from "./OrgChild4";
import { PosMaster } from "./PosMaster"; import { PosMaster } from "./PosMaster";
import { Profile } from "./Profile";
import { PermissionOrg } from "./PermissionOrg"; import { PermissionOrg } from "./PermissionOrg";
enum OrgRootRank { enum OrgRootRank {

View file

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToOne, OneToMany } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { PosExecutive } from "./PosExecutive"; import { PosExecutive } from "./PosExecutive";
import { PosType } from "./PosType"; import { PosType } from "./PosType";

View file

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToOne, OneToMany } from "typeorm"; import { Entity, Column, OneToMany } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Position } from "./Position"; import { Position } from "./Position";
import { PosDict } from "./PosDict"; import { PosDict } from "./PosDict";

View file

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToOne, OneToMany } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { PosMaster } from "./PosMaster"; import { PosMaster } from "./PosMaster";
import { PosLevel } from "./PosLevel"; import { PosLevel } from "./PosLevel";

View file

@ -1,4 +1,4 @@
import { Entity, Column, OneToMany, JoinColumn, ManyToOne, ManyToMany } from "typeorm"; import { Entity, Column, OneToMany, JoinColumn, ManyToOne } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { PosMaster } from "./PosMaster"; import { PosMaster } from "./PosMaster";
import { PosLevel } from "./PosLevel"; import { PosLevel } from "./PosLevel";

View file

@ -1,6 +1,5 @@
import { Entity, Column, ManyToOne, JoinColumn } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileAbility } from "./ProfileAbility"; import { ProfileAbility } from "./ProfileAbility";
@Entity("profileAbilityHistory") @Entity("profileAbilityHistory")

View file

@ -1,6 +1,5 @@
import { Entity, Column, ManyToOne, JoinColumn } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileAssessment } from "./ProfileAssessment"; import { ProfileAssessment } from "./ProfileAssessment";
@Entity("profileAssessmentHistory") @Entity("profileAssessmentHistory")

View file

@ -1,6 +1,5 @@
import { Entity, Column, OneToMany, ManyToOne, JoinColumn } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileCertificate } from "./ProfileCertificate"; import { ProfileCertificate } from "./ProfileCertificate";
@Entity("profileCertificateHistory") @Entity("profileCertificateHistory")

View file

@ -1,6 +1,5 @@
import { Entity, Column, OneToMany, ManyToOne, JoinColumn } from "typeorm"; import { Entity, Column, OneToMany, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileChangeNameHistory } from "./ProfileChangeNameHistory"; import { ProfileChangeNameHistory } from "./ProfileChangeNameHistory";
import { ProfileEmployee } from "./ProfileEmployee"; import { ProfileEmployee } from "./ProfileEmployee";
// import { ProfileChangeNameHistory } from "./ProfileChangeNameHistory"; // import { ProfileChangeNameHistory } from "./ProfileChangeNameHistory";

View file

@ -1,6 +1,5 @@
import { Entity, Column, OneToMany, ManyToOne, JoinColumn } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileChangeName } from "./ProfileChangeName"; import { ProfileChangeName } from "./ProfileChangeName";
@Entity("profileChangeNameHistory") @Entity("profileChangeNameHistory")

View file

@ -1,7 +1,5 @@
import { Column, Entity, ManyToOne, OneToMany, JoinColumn } from "typeorm"; import { Column, Entity, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileEmployee } from "./ProfileEmployee";
import { ProfileChildren } from "./ProfileChildren"; import { ProfileChildren } from "./ProfileChildren";
@Entity("profileChildrenHistory") @Entity("profileChildrenHistory")

View file

@ -1,6 +1,5 @@
import { Entity, Column, ManyToOne, JoinColumn } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileDiscipline } from "./ProfileDiscipline"; import { ProfileDiscipline } from "./ProfileDiscipline";
@Entity("profileDisciplineHistory") @Entity("profileDisciplineHistory")

View file

@ -1,6 +1,5 @@
import { Entity, Column, ManyToOne, JoinColumn } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileDuty } from "./ProfileDuty"; import { ProfileDuty } from "./ProfileDuty";
@Entity("profileDutyHistory") @Entity("profileDutyHistory")

View file

@ -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 { EntityBase } from "./base/Base";
import { Profile } from "./Profile"; import { Profile } from "./Profile";
import { ProfileEmployee } from "./ProfileEmployee"; import { ProfileEmployee } from "./ProfileEmployee";

View file

@ -1,6 +1,5 @@
import { Entity, Column, ManyToOne, JoinColumn } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileEducation } from "./ProfileEducation"; import { ProfileEducation } from "./ProfileEducation";
@Entity("profileEducationHistory") @Entity("profileEducationHistory")

View file

@ -24,7 +24,7 @@ import { ProfileFamilyFather } from "./ProfileFamilyFather";
import { ProfileFamilyMother } from "./ProfileFamilyMother"; import { ProfileFamilyMother } from "./ProfileFamilyMother";
import { ProfileFamilyCouple } from "./ProfileFamilyCouple"; import { ProfileFamilyCouple } from "./ProfileFamilyCouple";
import { ProfileChildren } from "./ProfileChildren"; import { ProfileChildren } from "./ProfileChildren";
import { Profile, ProfileAddressHistory } from "./Profile"; import { ProfileAddressHistory } from "./Profile";
import { Province } from "./Province"; import { Province } from "./Province";
import { District } from "./District"; import { District } from "./District";
import { SubDistrict } from "./SubDistrict"; import { SubDistrict } from "./SubDistrict";

View file

@ -1,4 +1,4 @@
import { Column, Entity, ManyToOne, OneToMany, JoinColumn } from "typeorm"; import { Column, Entity, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile"; import { Profile } from "./Profile";
import { ProfileEmployee } from "./ProfileEmployee"; import { ProfileEmployee } from "./ProfileEmployee";

View file

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { ProfileFamilyCouple } from "./ProfileFamilyCouple"; import { ProfileFamilyCouple } from "./ProfileFamilyCouple";

View file

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { ProfileFamilyFather } from "./ProfileFamilyFather"; import { ProfileFamilyFather } from "./ProfileFamilyFather";

View file

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { ProfileFamilyMother } from "./ProfileFamilyMother"; import { ProfileFamilyMother } from "./ProfileFamilyMother";

View file

@ -1,6 +1,5 @@
import { Entity, Column, ManyToOne, JoinColumn } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileHonor } from "./ProfileHonor"; import { ProfileHonor } from "./ProfileHonor";
@Entity("profileHonorHistory") @Entity("profileHonorHistory")

View file

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { ProfileInsignia } from "./ProfileInsignia"; import { ProfileInsignia } from "./ProfileInsignia";
import { Insignia } from "./Insignia"; import { Insignia } from "./Insignia";

View file

@ -1,6 +1,5 @@
import { Entity, Column, OneToMany, ManyToOne, JoinColumn } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileNopaid } from "./ProfileNopaid"; import { ProfileNopaid } from "./ProfileNopaid";
@Entity("profileNopaidHistory") @Entity("profileNopaidHistory")

View file

@ -1,6 +1,5 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileTraining } from "./ProfileTraining"; import { ProfileTraining } from "./ProfileTraining";
@Entity("profileTrainingHistory") @Entity("profileTrainingHistory")

View file

@ -1,9 +1,6 @@
import { Entity, Column, OneToMany } from "typeorm"; import { Entity, Column } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileEmployee } from "./ProfileEmployee";
@Entity("relationship") @Entity("relationship")
export class Relationship extends EntityBase { export class Relationship extends EntityBase {
@Column({ @Column({

View file

@ -1,7 +1,5 @@
import { Entity, Column, OneToMany } from "typeorm"; import { Entity, Column } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { Profile } from "./Profile";
import { ProfileEmployee } from "./ProfileEmployee";
@Entity("religion") @Entity("religion")
export class Religion extends EntityBase { export class Religion extends EntityBase {

View file

@ -1,7 +1,6 @@
import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm"; import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { EntityBase } from "./base/Base"; import { EntityBase } from "./base/Base";
import { State } from "./State"; import { State } from "./State";
import { StateOperatorUser } from "./StateOperatorUser";
@Entity("stateOperator") @Entity("stateOperator")
export class StateOperator extends EntityBase { export class StateOperator extends EntityBase {