Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop
# Conflicts: # src/controllers/ImportDataController.ts
This commit is contained in:
commit
7c7ae7db41
8 changed files with 669 additions and 320 deletions
26
src/entities/AmphurImport.ts
Normal file
26
src/entities/AmphurImport.ts
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
import { Entity, Column} from "typeorm";
|
||||
import { EntityBase } from "./base/Base";
|
||||
|
||||
@Entity("amphurImport")
|
||||
export class AmphurImport extends EntityBase{
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
PROVINCE_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
AMPHUR_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
AMPHUR_NAME: string;
|
||||
}
|
||||
26
src/entities/EducationMis.ts
Normal file
26
src/entities/EducationMis.ts
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
import { Entity, Column} from "typeorm";
|
||||
import { EntityBase } from "./base/Base";
|
||||
|
||||
@Entity("educationMis")
|
||||
export class EducationMis extends EntityBase{
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
EDUCATION_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
EDUCATION_NAME: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
EDUCATION_ABB_NAME: string;
|
||||
}
|
||||
19
src/entities/ProvinceImport.ts
Normal file
19
src/entities/ProvinceImport.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import { Entity, Column} from "typeorm";
|
||||
import { EntityBase } from "./base/Base";
|
||||
|
||||
@Entity("provinceImport")
|
||||
export class ProvinceImport extends EntityBase{
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
PROVINCE_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
PROVINCE_NAME: string;
|
||||
}
|
||||
33
src/entities/SubDistrictImport.ts
Normal file
33
src/entities/SubDistrictImport.ts
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
import { Entity, Column} from "typeorm";
|
||||
import { EntityBase } from "./base/Base";
|
||||
|
||||
@Entity("subDistrictImport")
|
||||
export class SubDistrictImport extends EntityBase{
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
PROVINCE_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
AMPHUR_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
DISTRICT_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
DISTRICT_NAME: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue