update
This commit is contained in:
@ -25,18 +25,6 @@ export class EformBeneficialOwner {
|
||||
@JoinColumn()
|
||||
nationality: EformConfigNationality;
|
||||
|
||||
@ManyToOne(() => EformConfigSourceIncome, { onDelete: "NO ACTION", nullable: true })
|
||||
@JoinColumn()
|
||||
source_income: EformConfigSourceIncome;
|
||||
|
||||
@ManyToOne(() => EformConfigOccupation, { onDelete: "NO ACTION", nullable: true })
|
||||
@JoinColumn()
|
||||
occupation: EformConfigOccupation;
|
||||
|
||||
@ManyToOne(() => EformConfigBusinessField, { onDelete: "NO ACTION", nullable: true })
|
||||
@JoinColumn()
|
||||
business_field: EformConfigBusinessField;
|
||||
|
||||
@ManyToOne(() => EformRegionMunisipo, { onDelete: "NO ACTION", nullable: true })
|
||||
@JoinColumn()
|
||||
munisipo: EformRegionMunisipo;
|
||||
@ -73,6 +61,12 @@ export class EformBeneficialOwner {
|
||||
})
|
||||
gender: EformGender;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 128,
|
||||
})
|
||||
phone: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 256,
|
||||
@ -84,36 +78,6 @@ export class EformBeneficialOwner {
|
||||
})
|
||||
birth_date: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
type: EformIdentityType;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
number: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
expired_at: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
issued_at: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 4096,
|
||||
})
|
||||
file: String;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 4096,
|
||||
@ -126,24 +90,6 @@ export class EformBeneficialOwner {
|
||||
})
|
||||
postal_code: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
place: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
length_of_work: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
position: string;
|
||||
|
||||
@Column()
|
||||
@CreateDateColumn()
|
||||
created_at: Date;
|
||||
|
||||
@ -15,8 +15,9 @@ export class EformRequest {
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
nullable: false,
|
||||
length: 256,
|
||||
unique: true,
|
||||
})
|
||||
code: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user