hrms-api-org/src/entities/ProvinceMaster.ts

23 lines
405 B
TypeScript
Raw Normal View History

2025-12-07 13:51:01 +07:00
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;
}