feat: add neoleap service and mock create application api

This commit is contained in:
Abdalhamid Alhamad
2025-05-26 12:04:00 +03:00
parent 641a665beb
commit a358cd2e7a
12 changed files with 687 additions and 10 deletions

View File

@ -9,6 +9,7 @@ import {
PrimaryColumn,
UpdateDateColumn,
} from 'typeorm';
import { CountryIso } from '~/common/enums';
import { Document } from '~/document/entities';
import { Guardian } from '~/guardian/entities/guradian.entity';
import { Junior } from '~/junior/entities';
@ -45,7 +46,7 @@ export class Customer extends BaseEntity {
nationalIdExpiry!: Date;
@Column('varchar', { length: 255, nullable: true, name: 'country_of_residence' })
countryOfResidence!: string;
countryOfResidence!: CountryIso;
@Column('varchar', { length: 255, nullable: true, name: 'source_of_income' })
sourceOfIncome!: string;