|
|
@@ -7,7 +7,7 @@ export class HetongRenew {
|
|
|
@PrimaryColumn({ name: 'id', type: 'varchar', length: 50 })
|
|
|
id!: string;
|
|
|
|
|
|
- @Column({ name: 'contract_id', type: 'varchar', length: 50 })
|
|
|
+ @Column({ name: 'contract_id', type: 'int', unsigned: true })
|
|
|
@ForeignKey(() => Hetong)
|
|
|
contractId!: string;
|
|
|
|