update
This commit is contained in:
@ -25,18 +25,6 @@ export class EformBeneficialOwner {
|
|||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
nationality: EformConfigNationality;
|
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 })
|
@ManyToOne(() => EformRegionMunisipo, { onDelete: "NO ACTION", nullable: true })
|
||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
munisipo: EformRegionMunisipo;
|
munisipo: EformRegionMunisipo;
|
||||||
@ -73,6 +61,12 @@ export class EformBeneficialOwner {
|
|||||||
})
|
})
|
||||||
gender: EformGender;
|
gender: EformGender;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 128,
|
||||||
|
})
|
||||||
|
phone: string;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
nullable: false,
|
nullable: false,
|
||||||
length: 256,
|
length: 256,
|
||||||
@ -84,36 +78,6 @@ export class EformBeneficialOwner {
|
|||||||
})
|
})
|
||||||
birth_date: Date;
|
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({
|
@Column({
|
||||||
nullable: true,
|
nullable: true,
|
||||||
length: 4096,
|
length: 4096,
|
||||||
@ -126,24 +90,6 @@ export class EformBeneficialOwner {
|
|||||||
})
|
})
|
||||||
postal_code: string;
|
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()
|
@Column()
|
||||||
@CreateDateColumn()
|
@CreateDateColumn()
|
||||||
created_at: Date;
|
created_at: Date;
|
||||||
|
|||||||
@ -15,8 +15,9 @@ export class EformRequest {
|
|||||||
id: string;
|
id: string;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
nullable: true,
|
nullable: false,
|
||||||
length: 256,
|
length: 256,
|
||||||
|
unique: true,
|
||||||
})
|
})
|
||||||
code: string;
|
code: string;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user