update column bg
This commit is contained in:
@ -16,12 +16,23 @@ export class BankGaransi {
|
||||
})
|
||||
open_date: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
})
|
||||
start_date: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
email: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
@ -34,6 +45,12 @@ export class BankGaransi {
|
||||
})
|
||||
bg_number: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
contract_number: string;
|
||||
|
||||
@ManyToOne(() => BankGaransiType, (bank_garansi_type) => bank_garansi_type.bank_garansi)
|
||||
@JoinColumn({ name: "bgTypeId" }) // Add foreign key column
|
||||
bank_garansi_type: BankGaransiType;
|
||||
@ -47,6 +64,12 @@ export class BankGaransi {
|
||||
})
|
||||
project_owner: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
project_name: string;
|
||||
|
||||
@Column({
|
||||
type: "float8",
|
||||
nullable: true,
|
||||
|
||||
Reference in New Issue
Block a user