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