update column bg

This commit is contained in:
meusinfirmary
2025-01-08 01:10:23 +07:00
parent e000d1113f
commit 6adecd7663

View File

@ -16,12 +16,23 @@ export class BankGaransi {
}) })
open_date: Date; open_date: Date;
@Column({
nullable: true,
})
start_date: Date;
@Column({ @Column({
nullable: true, nullable: true,
length: 256, length: 256,
}) })
name: string; name: string;
@Column({
nullable: true,
length: 256,
})
email: string;
@Column({ @Column({
nullable: true, nullable: true,
length: 256, length: 256,
@ -34,6 +45,12 @@ export class BankGaransi {
}) })
bg_number: string; bg_number: string;
@Column({
nullable: true,
length: 256,
})
contract_number: string;
@ManyToOne(() => BankGaransiType, (bank_garansi_type) => bank_garansi_type.bank_garansi) @ManyToOne(() => BankGaransiType, (bank_garansi_type) => bank_garansi_type.bank_garansi)
@JoinColumn({ name: "bgTypeId" }) // Add foreign key column @JoinColumn({ name: "bgTypeId" }) // Add foreign key column
bank_garansi_type: BankGaransiType; bank_garansi_type: BankGaransiType;
@ -47,6 +64,12 @@ export class BankGaransi {
}) })
project_owner: string; project_owner: string;
@Column({
nullable: true,
length: 256,
})
project_name: string;
@Column({ @Column({
type: "float8", type: "float8",
nullable: true, nullable: true,