update entity svc bank

This commit is contained in:
2024-12-02 14:26:10 +07:00
parent 2127406a74
commit 2a9567a30f
3 changed files with 52 additions and 32 deletions

View File

@ -6,131 +6,137 @@ export class CifAccount {
id: string; id: string;
@Column({ @Column({
nullable: false, nullable: true,
length: 12 length: 12
}) })
cif_number: string; cif_number: string;
@Column({ @Column({
nullable: false, nullable: true,
length: 128 length: 128
}) })
name: string; name: string;
@Column({ @Column({
nullable: false, nullable: true,
length: 20 length: 20
}) })
account_number: string; account_number: string;
@Column({ @Column({
nullable: false, nullable: true,
length: 4 length: 128
}) })
branch_code: string; branch_code: string;
@Column({ @Column({
nullable: false, nullable: true,
length: 128
})
branch_name: string;
@Column({
nullable: true,
}) })
open_date: Date; open_date: Date;
@Column({ @Column({
type: 'int2', type: 'int4',
nullable: false, nullable: true,
}) })
product_type: number; product_type: number;
@Column({ @Column({
nullable: false, nullable: true,
length: 256 length: 256
}) })
product_description: string; product_description: string;
@Column({ @Column({
type: 'float8', type: 'float8',
nullable: false, nullable: true,
}) })
current_balance: number; current_balance: number;
@Column({ @Column({
nullable: false, nullable: true,
length: 2 length: 2
}) })
country_code: string; country_code: string;
@Column({ @Column({
nullable: false, nullable: true,
length: 128 length: 128
}) })
country_name: string; country_name: string;
@Column({ @Column({
nullable: false, nullable: true,
length: 1 length: 128
}) })
exposed_person_flag: string; exposed_person_flag: string;
@Column({ @Column({
nullable: false, nullable: true,
length: 1 length: 128
}) })
income_tiering: string; income_tiering: string;
@Column({ @Column({
nullable: false, nullable: true,
length: 1 length: 128
}) })
cif_type: string; cif_type: string;
@Column({ @Column({
type: 'int2', type: 'int2',
nullable: false, nullable: true,
}) })
status: number; status: number;
@Column({ @Column({
nullable: false, nullable: true,
length: 1 length: 128
}) })
gender: string; gender: string;
@Column({ @Column({
nullable: false, nullable: true,
}) })
birth_date: Date; birth_date: Date;
@Column({ @Column({
type: 'uuid', // type: 'uuid',
nullable: false, nullable: true,
}) })
economic_sub_clasification: string; economic_sub_clasification: string;
@Column({ @Column({
type: 'uuid', // type: 'uuid',
nullable: true, nullable: true,
}) })
district: string; district: string;
@Column({ @Column({
type: 'uuid', // type: 'uuid',
nullable: true, nullable: true,
}) })
munisipiu: string; munisipiu: string;
@Column({ @Column({
type: 'uuid', // type: 'uuid',
nullable: true, nullable: true,
}) })
administrativu: string; administrativu: string;
@Column({ @Column({
type: 'uuid', // type: 'uuid',
nullable: true, nullable: true,
}) })
suco: string; suco: string;
@Column({ @Column({
type: 'uuid', // type: 'uuid',
nullable: true, nullable: true,
}) })
aldeia: string; aldeia: string;

View File

@ -5,6 +5,11 @@ export class LNKOLEK {
@PrimaryGeneratedColumn('uuid') @PrimaryGeneratedColumn('uuid')
id: string; id: string;
@Column({
nullable: false
})
type: string;
@Column({ @Column({
type: 'float', type: 'float',
nullable: false nullable: false
@ -35,6 +40,12 @@ export class LNKOLEK {
}) })
branch_code: string; branch_code: string;
@Column({
nullable: true,
length: 128
})
branch_name: string;
@Column({ @Column({
nullable: false, nullable: false,
}) })
@ -94,10 +105,14 @@ export class LNKOLEK {
@Column({ @Column({
type: 'float8',
nullable: false, nullable: false,
}) })
ppap: number; ppap: string;
@Column({
nullable: false,
})
position_date: Date;
@Column() @Column()
@CreateDateColumn() @CreateDateColumn()

View File

@ -6,7 +6,6 @@ export class TrialBalance {
id: string; id: string;
@Column({ @Column({
unique: true,
nullable: false, nullable: false,
length: 64 length: 64
}) })