update permission
This commit is contained in:
parent
b436b67167
commit
f814454003
15 changed files with 99587 additions and 83 deletions
31
src/entities/SubDistrictMaster.ts
Normal file
31
src/entities/SubDistrictMaster.ts
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
|
||||
|
||||
@Entity("subdistrict_master")
|
||||
export class SubDistrictMaster {
|
||||
@PrimaryGeneratedColumn()
|
||||
id: number;
|
||||
|
||||
@Column()
|
||||
zip_code: number;
|
||||
|
||||
@Column({ length: 255 })
|
||||
name_th: string;
|
||||
|
||||
@Column({ length: 255 })
|
||||
name_en: string;
|
||||
|
||||
@Column()
|
||||
district_id: number;
|
||||
|
||||
@Column({ type: "float", nullable: true })
|
||||
lat: number | null;
|
||||
|
||||
@Column({ type: "float", nullable: true })
|
||||
long: number | null;
|
||||
|
||||
@Column({ type: "timestamp", nullable: true })
|
||||
created_at: string;
|
||||
|
||||
@Column({ type: "timestamp", nullable: true })
|
||||
updated_at: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue