import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";

@Entity("district_master")
export class DistrictMaster {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ length: 255 })
  name_th: string;

  @Column({ length: 255 })
  name_en: string;

  @Column()
  province_id: number;

  @Column({ nullable: true })
  created_at: string;

  @Column({ nullable: true })
  updated_at: string;
}
