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;
@Column({
nullable: false,
nullable: true,
length: 12
})
cif_number: string;
@Column({
nullable: false,
nullable: true,
length: 128
})
name: string;
@Column({
nullable: false,
nullable: true,
length: 20
})
account_number: string;
@Column({
nullable: false,
length: 4
nullable: true,
length: 128
})
branch_code: string;
@Column({
nullable: false,
nullable: true,
length: 128
})
branch_name: string;
@Column({
nullable: true,
})
open_date: Date;
@Column({
type: 'int2',
nullable: false,
type: 'int4',
nullable: true,
})
product_type: number;
@Column({
nullable: false,
nullable: true,
length: 256
})
product_description: string;
@Column({
type: 'float8',
nullable: false,
nullable: true,
})
current_balance: number;
@Column({
nullable: false,
nullable: true,
length: 2
})
country_code: string;
@Column({
nullable: false,
nullable: true,
length: 128
})
country_name: string;
@Column({
nullable: false,
length: 1
nullable: true,
length: 128
})
exposed_person_flag: string;
@Column({
nullable: false,
length: 1
nullable: true,
length: 128
})
income_tiering: string;
@Column({
nullable: false,
length: 1
nullable: true,
length: 128
})
cif_type: string;
@Column({
type: 'int2',
nullable: false,
nullable: true,
})
status: number;
@Column({
nullable: false,
length: 1
nullable: true,
length: 128
})
gender: string;
@Column({
nullable: false,
nullable: true,
})
birth_date: Date;
@Column({
type: 'uuid',
nullable: false,
// type: 'uuid',
nullable: true,
})
economic_sub_clasification: string;
@Column({
type: 'uuid',
// type: 'uuid',
nullable: true,
})
district: string;
@Column({
type: 'uuid',
// type: 'uuid',
nullable: true,
})
munisipiu: string;
@Column({
type: 'uuid',
// type: 'uuid',
nullable: true,
})
administrativu: string;
@Column({
type: 'uuid',
// type: 'uuid',
nullable: true,
})
suco: string;
@Column({
type: 'uuid',
// type: 'uuid',
nullable: true,
})
aldeia: string;

View File

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

View File

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