update permission

This commit is contained in:
mamoss 2025-12-07 13:51:01 +07:00
parent b436b67167
commit f814454003
15 changed files with 99587 additions and 83 deletions

View 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;
}