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