hrms-api-org/src/entities/SubDistrictImport.ts

34 lines
561 B
TypeScript
Raw Normal View History

2024-10-07 14:53:27 +07:00
import { Entity, Column } from "typeorm";
2024-07-26 14:41:41 +07:00
import { EntityBase } from "./base/Base";
@Entity("subDistrictImport")
2024-10-07 14:53:27 +07:00
export class SubDistrictImport extends EntityBase {
2024-07-26 14:41:41 +07:00
@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;
}