feat(refferal-hospital): add column of order number for ordering
This commit is contained in:
@ -5,13 +5,16 @@ import {
|
||||
CreateDateColumn,
|
||||
UpdateDateColumn,
|
||||
DeleteDateColumn,
|
||||
} from "typeorm";
|
||||
} from "typeorm";
|
||||
|
||||
@Entity("refferal_hospital")
|
||||
export class RefferalHospital {
|
||||
@Entity("refferal_hospital")
|
||||
export class RefferalHospital {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id!: string;
|
||||
|
||||
@Column({ type: "number", nullable: true })
|
||||
order_number: number;
|
||||
|
||||
@Column({ type: "text", nullable: false })
|
||||
refferal_hospital_name!: string;
|
||||
|
||||
@ -38,4 +41,4 @@ import {
|
||||
// Kolom untuk tracking siapa yang menghapus data ini
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by?: string;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user