@dynamatix/gb-schemas 2.0.46 → 2.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/applicants/applicant-share-holding.entity.d.ts +18 -0
- package/dist/entities/applicants/applicant-share-holding.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-share-holding.entity.js +5 -0
- package/dist/entities/applications/application-company.entity.d.ts +52 -4
- package/dist/entities/applications/application-company.entity.d.ts.map +1 -1
- package/dist/entities/applications/application-company.entity.js +10 -0
- package/dist/entities/applications/index.d.ts +2 -3
- package/dist/entities/applications/index.d.ts.map +1 -1
- package/dist/entities/applications/index.js +0 -1
- package/entities/applicants/applicant-share-holding.entity.ts +23 -0
- package/entities/applications/application-company.entity.ts +64 -5
- package/entities/applications/index.ts +0 -3
- package/package.json +1 -1
- package/prisma/applicants/applicant-share-holding.prisma +17 -0
- package/prisma/applications/application-company.prisma +50 -7
- package/prisma/applications/application.prisma +0 -1
- package/prisma/migrations/20250513143530_update_credit_card_commitment_schema/migration.sql +8 -8
- package/prisma/migrations/20250513170654_update_mortgage_commitment_schema/migration.sql +89 -89
- package/prisma/migrations/20250513183558_update_loan_commitment_schema/migration.sql +33 -33
- package/prisma/migrations/20250513184341_update_loan_commitment_schema/migration.sql +4 -4
- package/prisma/migrations/20250513202307_update_role_schema/migration.sql +12 -12
- package/prisma/migrations/20250514062536_update_role_group_schema/migration.sql +12 -12
- package/prisma/migrations/20250514064054_update_user_schema/migration.sql +12 -12
- package/prisma/migrations/20250514071524_update_user_schema/migration.sql +15 -15
- package/prisma/migrations/20250514072729_update_user_schema/migration.sql +18 -18
- package/prisma/migrations/20250514102042_update_user_rolegroup_role_schemas/migration.sql +9 -9
- package/prisma/migrations/20250514183537_update_application_company_schema/migration.sql +100 -0
- package/prisma/schema.prisma +73 -91
- package/prisma/shared/lookup.prisma +4 -5
- package/dist/entities/applications/company.entity.d.ts +0 -77
- package/dist/entities/applications/company.entity.d.ts.map +0 -1
- package/dist/entities/applications/company.entity.js +0 -23
- package/entities/applications/company.entity.ts +0 -102
- package/prisma/applications/company.prisma +0 -76
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to drop the column `commitment_type_lid` on the `applicant_loan_commitments` table. All the data in the column will be lost.
|
|
5
|
-
- You are about to drop the column `joint_names` on the `applicant_loan_commitments` table. All the data in the column will be lost.
|
|
6
|
-
- You are about to alter the column `outstanding_balance` on the `applicant_loan_commitments` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
7
|
-
- You are about to alter the column `monthly_payment` on the `applicant_loan_commitments` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
8
|
-
- A unique constraint covering the columns `[commitment_id]` on the table `applicant_loan_commitments` will be added. If there are existing duplicate values, this will fail.
|
|
9
|
-
- Made the column `purpose` on table `applicant_loan_commitments` required. This step will fail if there are existing NULL values in that column.
|
|
10
|
-
|
|
11
|
-
*/
|
|
12
|
-
-- DropForeignKey
|
|
13
|
-
ALTER TABLE "applicant_loan_commitments" DROP CONSTRAINT "applicant_loan_commitments_commitment_type_lid_fkey";
|
|
14
|
-
|
|
15
|
-
-- DropForeignKey
|
|
16
|
-
ALTER TABLE "applicant_loan_commitments" DROP CONSTRAINT "applicant_loan_commitments_loan_type_lid_fkey";
|
|
17
|
-
|
|
18
|
-
-- AlterTable
|
|
19
|
-
ALTER TABLE "applicant_loan_commitments" DROP COLUMN "commitment_type_lid",
|
|
20
|
-
DROP COLUMN "joint_names",
|
|
21
|
-
ALTER COLUMN "loan_type_lid" DROP NOT NULL,
|
|
22
|
-
ALTER COLUMN "security_details" DROP NOT NULL,
|
|
23
|
-
ALTER COLUMN "purpose" SET NOT NULL,
|
|
24
|
-
ALTER COLUMN "do_have_shared_responsibility" DROP NOT NULL,
|
|
25
|
-
ALTER COLUMN "shared_mortgage" DROP NOT NULL,
|
|
26
|
-
ALTER COLUMN "outstanding_balance" SET DATA TYPE DECIMAL(10,2),
|
|
27
|
-
ALTER COLUMN "monthly_payment" SET DATA TYPE DECIMAL(10,2);
|
|
28
|
-
|
|
29
|
-
-- CreateIndex
|
|
30
|
-
CREATE UNIQUE INDEX "applicant_loan_commitments_commitment_id_key" ON "applicant_loan_commitments"("commitment_id");
|
|
31
|
-
|
|
32
|
-
-- AddForeignKey
|
|
33
|
-
ALTER TABLE "applicant_loan_commitments" ADD CONSTRAINT "applicant_loan_commitments_loan_type_lid_fkey" FOREIGN KEY ("loan_type_lid") REFERENCES "lookups"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- You are about to drop the column `commitment_type_lid` on the `applicant_loan_commitments` table. All the data in the column will be lost.
|
|
5
|
+
- You are about to drop the column `joint_names` on the `applicant_loan_commitments` table. All the data in the column will be lost.
|
|
6
|
+
- You are about to alter the column `outstanding_balance` on the `applicant_loan_commitments` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
7
|
+
- You are about to alter the column `monthly_payment` on the `applicant_loan_commitments` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
8
|
+
- A unique constraint covering the columns `[commitment_id]` on the table `applicant_loan_commitments` will be added. If there are existing duplicate values, this will fail.
|
|
9
|
+
- Made the column `purpose` on table `applicant_loan_commitments` required. This step will fail if there are existing NULL values in that column.
|
|
10
|
+
|
|
11
|
+
*/
|
|
12
|
+
-- DropForeignKey
|
|
13
|
+
ALTER TABLE "applicant_loan_commitments" DROP CONSTRAINT "applicant_loan_commitments_commitment_type_lid_fkey";
|
|
14
|
+
|
|
15
|
+
-- DropForeignKey
|
|
16
|
+
ALTER TABLE "applicant_loan_commitments" DROP CONSTRAINT "applicant_loan_commitments_loan_type_lid_fkey";
|
|
17
|
+
|
|
18
|
+
-- AlterTable
|
|
19
|
+
ALTER TABLE "applicant_loan_commitments" DROP COLUMN "commitment_type_lid",
|
|
20
|
+
DROP COLUMN "joint_names",
|
|
21
|
+
ALTER COLUMN "loan_type_lid" DROP NOT NULL,
|
|
22
|
+
ALTER COLUMN "security_details" DROP NOT NULL,
|
|
23
|
+
ALTER COLUMN "purpose" SET NOT NULL,
|
|
24
|
+
ALTER COLUMN "do_have_shared_responsibility" DROP NOT NULL,
|
|
25
|
+
ALTER COLUMN "shared_mortgage" DROP NOT NULL,
|
|
26
|
+
ALTER COLUMN "outstanding_balance" SET DATA TYPE DECIMAL(10,2),
|
|
27
|
+
ALTER COLUMN "monthly_payment" SET DATA TYPE DECIMAL(10,2);
|
|
28
|
+
|
|
29
|
+
-- CreateIndex
|
|
30
|
+
CREATE UNIQUE INDEX "applicant_loan_commitments_commitment_id_key" ON "applicant_loan_commitments"("commitment_id");
|
|
31
|
+
|
|
32
|
+
-- AddForeignKey
|
|
33
|
+
ALTER TABLE "applicant_loan_commitments" ADD CONSTRAINT "applicant_loan_commitments_loan_type_lid_fkey" FOREIGN KEY ("loan_type_lid") REFERENCES "lookups"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
-- AlterTable
|
|
2
|
-
ALTER TABLE "applicant_loan_commitments" ADD COLUMN "is_selected" BOOLEAN DEFAULT true,
|
|
3
|
-
ADD COLUMN "loan_rationale" TEXT DEFAULT '',
|
|
4
|
-
ADD COLUMN "source" TEXT DEFAULT 'Broker';
|
|
1
|
+
-- AlterTable
|
|
2
|
+
ALTER TABLE "applicant_loan_commitments" ADD COLUMN "is_selected" BOOLEAN DEFAULT true,
|
|
3
|
+
ADD COLUMN "loan_rationale" TEXT DEFAULT '',
|
|
4
|
+
ADD COLUMN "source" TEXT DEFAULT 'Broker';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- Changed the type of `role_id` on the `roles` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
-- AlterTable
|
|
8
|
-
ALTER TABLE "roles" DROP COLUMN "role_id",
|
|
9
|
-
ADD COLUMN "role_id" INTEGER NOT NULL;
|
|
10
|
-
|
|
11
|
-
-- CreateIndex
|
|
12
|
-
CREATE UNIQUE INDEX "roles_role_id_key" ON "roles"("role_id");
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- Changed the type of `role_id` on the `roles` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
-- AlterTable
|
|
8
|
+
ALTER TABLE "roles" DROP COLUMN "role_id",
|
|
9
|
+
ADD COLUMN "role_id" INTEGER NOT NULL;
|
|
10
|
+
|
|
11
|
+
-- CreateIndex
|
|
12
|
+
CREATE UNIQUE INDEX "roles_role_id_key" ON "roles"("role_id");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- Changed the type of `group_id` on the `role_groups` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
-- AlterTable
|
|
8
|
-
ALTER TABLE "role_groups" DROP COLUMN "group_id",
|
|
9
|
-
ADD COLUMN "group_id" INTEGER NOT NULL;
|
|
10
|
-
|
|
11
|
-
-- CreateIndex
|
|
12
|
-
CREATE UNIQUE INDEX "role_groups_group_id_key" ON "role_groups"("group_id");
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- Changed the type of `group_id` on the `role_groups` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
-- AlterTable
|
|
8
|
+
ALTER TABLE "role_groups" DROP COLUMN "group_id",
|
|
9
|
+
ADD COLUMN "group_id" INTEGER NOT NULL;
|
|
10
|
+
|
|
11
|
+
-- CreateIndex
|
|
12
|
+
CREATE UNIQUE INDEX "role_groups_group_id_key" ON "role_groups"("group_id");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- Changed the type of `account_id` on the `users` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
-- AlterTable
|
|
8
|
-
ALTER TABLE "users" DROP COLUMN "account_id",
|
|
9
|
-
ADD COLUMN "account_id" INTEGER NOT NULL;
|
|
10
|
-
|
|
11
|
-
-- CreateIndex
|
|
12
|
-
CREATE UNIQUE INDEX "users_account_id_key" ON "users"("account_id");
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- Changed the type of `account_id` on the `users` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
-- AlterTable
|
|
8
|
+
ALTER TABLE "users" DROP COLUMN "account_id",
|
|
9
|
+
ADD COLUMN "account_id" INTEGER NOT NULL;
|
|
10
|
+
|
|
11
|
+
-- CreateIndex
|
|
12
|
+
CREATE UNIQUE INDEX "users_account_id_key" ON "users"("account_id");
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to drop the column `password` on the `users` table. All the data in the column will be lost.
|
|
5
|
-
- You are about to drop the `claims` table. If the table is not empty, all the data it contains will be lost.
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
-- DropForeignKey
|
|
9
|
-
ALTER TABLE "claims" DROP CONSTRAINT "claims_user_id_fkey";
|
|
10
|
-
|
|
11
|
-
-- AlterTable
|
|
12
|
-
ALTER TABLE "users" DROP COLUMN "password";
|
|
13
|
-
|
|
14
|
-
-- DropTable
|
|
15
|
-
DROP TABLE "claims";
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- You are about to drop the column `password` on the `users` table. All the data in the column will be lost.
|
|
5
|
+
- You are about to drop the `claims` table. If the table is not empty, all the data it contains will be lost.
|
|
6
|
+
|
|
7
|
+
*/
|
|
8
|
+
-- DropForeignKey
|
|
9
|
+
ALTER TABLE "claims" DROP CONSTRAINT "claims_user_id_fkey";
|
|
10
|
+
|
|
11
|
+
-- AlterTable
|
|
12
|
+
ALTER TABLE "users" DROP COLUMN "password";
|
|
13
|
+
|
|
14
|
+
-- DropTable
|
|
15
|
+
DROP TABLE "claims";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- The `modified_by_id` column on the `users` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
5
|
-
- The `created_by_id` column on the `users` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
6
|
-
- The `deleted_by_id` column on the `users` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
7
|
-
- Changed the type of `status` on the `users` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
8
|
-
|
|
9
|
-
*/
|
|
10
|
-
-- AlterTable
|
|
11
|
-
ALTER TABLE "users" DROP COLUMN "status",
|
|
12
|
-
ADD COLUMN "status" INTEGER NOT NULL,
|
|
13
|
-
DROP COLUMN "modified_by_id",
|
|
14
|
-
ADD COLUMN "modified_by_id" INTEGER,
|
|
15
|
-
DROP COLUMN "created_by_id",
|
|
16
|
-
ADD COLUMN "created_by_id" INTEGER,
|
|
17
|
-
DROP COLUMN "deleted_by_id",
|
|
18
|
-
ADD COLUMN "deleted_by_id" INTEGER;
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- The `modified_by_id` column on the `users` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
5
|
+
- The `created_by_id` column on the `users` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
6
|
+
- The `deleted_by_id` column on the `users` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
7
|
+
- Changed the type of `status` on the `users` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
8
|
+
|
|
9
|
+
*/
|
|
10
|
+
-- AlterTable
|
|
11
|
+
ALTER TABLE "users" DROP COLUMN "status",
|
|
12
|
+
ADD COLUMN "status" INTEGER NOT NULL,
|
|
13
|
+
DROP COLUMN "modified_by_id",
|
|
14
|
+
ADD COLUMN "modified_by_id" INTEGER,
|
|
15
|
+
DROP COLUMN "created_by_id",
|
|
16
|
+
ADD COLUMN "created_by_id" INTEGER,
|
|
17
|
+
DROP COLUMN "deleted_by_id",
|
|
18
|
+
ADD COLUMN "deleted_by_id" INTEGER;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
-- AlterTable
|
|
2
|
-
ALTER TABLE "role_groups" ADD COLUMN "role_ids" TEXT[];
|
|
3
|
-
|
|
4
|
-
-- AlterTable
|
|
5
|
-
ALTER TABLE "roles" ADD COLUMN "permission_ids" TEXT[];
|
|
6
|
-
|
|
7
|
-
-- AlterTable
|
|
8
|
-
ALTER TABLE "users" ADD COLUMN "external_data" TEXT,
|
|
9
|
-
ADD COLUMN "group_ids" TEXT[];
|
|
1
|
+
-- AlterTable
|
|
2
|
+
ALTER TABLE "role_groups" ADD COLUMN "role_ids" TEXT[];
|
|
3
|
+
|
|
4
|
+
-- AlterTable
|
|
5
|
+
ALTER TABLE "roles" ADD COLUMN "permission_ids" TEXT[];
|
|
6
|
+
|
|
7
|
+
-- AlterTable
|
|
8
|
+
ALTER TABLE "users" ADD COLUMN "external_data" TEXT,
|
|
9
|
+
ADD COLUMN "group_ids" TEXT[];
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- You are about to drop the column `name` on the `application_companies` table. All the data in the column will be lost.
|
|
5
|
+
- You are about to drop the column `registration_number` on the `application_companies` table. All the data in the column will be lost.
|
|
6
|
+
- You are about to drop the `companies` table. If the table is not empty, all the data it contains will be lost.
|
|
7
|
+
- A unique constraint covering the columns `[company_id]` on the table `applicant_shareholdings` will be added. If there are existing duplicate values, this will fail.
|
|
8
|
+
- Added the required column `address_country_lid` to the `application_companies` table without a default value. This is not possible if the table is not empty.
|
|
9
|
+
- Added the required column `address_line1` to the `application_companies` table without a default value. This is not possible if the table is not empty.
|
|
10
|
+
- Added the required column `business_type_lid` to the `application_companies` table without a default value. This is not possible if the table is not empty.
|
|
11
|
+
- Added the required column `registered_name` to the `application_companies` table without a default value. This is not possible if the table is not empty.
|
|
12
|
+
- Added the required column `registered_number` to the `application_companies` table without a default value. This is not possible if the table is not empty.
|
|
13
|
+
- Added the required column `tax_jurisdiction_lid` to the `application_companies` table without a default value. This is not possible if the table is not empty.
|
|
14
|
+
- Added the required column `trading_since` to the `application_companies` table without a default value. This is not possible if the table is not empty.
|
|
15
|
+
- Added the required column `year_end` to the `application_companies` table without a default value. This is not possible if the table is not empty.
|
|
16
|
+
- Added the required column `year_end1` to the `application_companies` table without a default value. This is not possible if the table is not empty.
|
|
17
|
+
- Added the required column `year_end2` to the `application_companies` table without a default value. This is not possible if the table is not empty.
|
|
18
|
+
- Added the required column `year_end3` to the `application_companies` table without a default value. This is not possible if the table is not empty.
|
|
19
|
+
|
|
20
|
+
*/
|
|
21
|
+
-- DropForeignKey
|
|
22
|
+
ALTER TABLE "applicant_shareholdings" DROP CONSTRAINT "applicant_shareholdings_company_id_fkey";
|
|
23
|
+
|
|
24
|
+
-- DropForeignKey
|
|
25
|
+
ALTER TABLE "companies" DROP CONSTRAINT "companies_address_country_lid_fkey";
|
|
26
|
+
|
|
27
|
+
-- DropForeignKey
|
|
28
|
+
ALTER TABLE "companies" DROP CONSTRAINT "companies_application_id_fkey";
|
|
29
|
+
|
|
30
|
+
-- DropForeignKey
|
|
31
|
+
ALTER TABLE "companies" DROP CONSTRAINT "companies_application_type_lid_fkey";
|
|
32
|
+
|
|
33
|
+
-- DropForeignKey
|
|
34
|
+
ALTER TABLE "companies" DROP CONSTRAINT "companies_business_type_lid_fkey";
|
|
35
|
+
|
|
36
|
+
-- DropForeignKey
|
|
37
|
+
ALTER TABLE "companies" DROP CONSTRAINT "companies_tax_jurisdiction_lid_fkey";
|
|
38
|
+
|
|
39
|
+
-- AlterTable
|
|
40
|
+
ALTER TABLE "application_companies" DROP COLUMN "name",
|
|
41
|
+
DROP COLUMN "registration_number",
|
|
42
|
+
ADD COLUMN "address_city" TEXT,
|
|
43
|
+
ADD COLUMN "address_country_lid" TEXT NOT NULL,
|
|
44
|
+
ADD COLUMN "address_line1" TEXT NOT NULL,
|
|
45
|
+
ADD COLUMN "address_line2" TEXT,
|
|
46
|
+
ADD COLUMN "address_line3" TEXT,
|
|
47
|
+
ADD COLUMN "address_post_code" TEXT NOT NULL DEFAULT '',
|
|
48
|
+
ADD COLUMN "business_type_lid" TEXT NOT NULL,
|
|
49
|
+
ADD COLUMN "company_any_voluntary_enforced_possession_no" BOOLEAN NOT NULL DEFAULT true,
|
|
50
|
+
ADD COLUMN "company_any_voluntary_enforced_possession_yes" BOOLEAN NOT NULL DEFAULT false,
|
|
51
|
+
ADD COLUMN "company_bankruptcy" TEXT NOT NULL DEFAULT '',
|
|
52
|
+
ADD COLUMN "company_bankruptcy_no" BOOLEAN NOT NULL DEFAULT true,
|
|
53
|
+
ADD COLUMN "company_bankruptcy_yes" BOOLEAN NOT NULL DEFAULT false,
|
|
54
|
+
ADD COLUMN "company_ccj_in_last_three_year_no" BOOLEAN NOT NULL DEFAULT true,
|
|
55
|
+
ADD COLUMN "company_ccj_in_last_three_year_yes" BOOLEAN NOT NULL DEFAULT false,
|
|
56
|
+
ADD COLUMN "company_county_court_judgment" TEXT NOT NULL DEFAULT '',
|
|
57
|
+
ADD COLUMN "company_credit_defaults" TEXT NOT NULL DEFAULT '',
|
|
58
|
+
ADD COLUMN "company_defaults_in_last_year_no" BOOLEAN NOT NULL DEFAULT true,
|
|
59
|
+
ADD COLUMN "company_defaults_in_last_year_yes" BOOLEAN NOT NULL DEFAULT false,
|
|
60
|
+
ADD COLUMN "company_secured_arrears" TEXT NOT NULL DEFAULT '',
|
|
61
|
+
ADD COLUMN "company_unsecured_arrears" TEXT NOT NULL DEFAULT '',
|
|
62
|
+
ADD COLUMN "date_of_incorporation" TEXT,
|
|
63
|
+
ADD COLUMN "do_you_know_registered_number" BOOLEAN NOT NULL DEFAULT true,
|
|
64
|
+
ADD COLUMN "epc" TEXT NOT NULL DEFAULT '',
|
|
65
|
+
ADD COLUMN "nature_of_business" TEXT NOT NULL DEFAULT '',
|
|
66
|
+
ADD COLUMN "net_profit_year1" DECIMAL(65,30) NOT NULL DEFAULT 0.00,
|
|
67
|
+
ADD COLUMN "net_profit_year2" DECIMAL(65,30) NOT NULL DEFAULT 0.00,
|
|
68
|
+
ADD COLUMN "net_profit_year3" DECIMAL(65,30) NOT NULL DEFAULT 0.00,
|
|
69
|
+
ADD COLUMN "page_valid_flag" BOOLEAN DEFAULT true,
|
|
70
|
+
ADD COLUMN "registered_name" TEXT NOT NULL,
|
|
71
|
+
ADD COLUMN "registered_number" INTEGER NOT NULL,
|
|
72
|
+
ADD COLUMN "remaining_lease" TEXT NOT NULL DEFAULT '',
|
|
73
|
+
ADD COLUMN "sic_codes" TEXT[],
|
|
74
|
+
ADD COLUMN "tax_jurisdiction_lid" TEXT NOT NULL,
|
|
75
|
+
ADD COLUMN "trading_since" TEXT NOT NULL,
|
|
76
|
+
ADD COLUMN "turnover_year1" DECIMAL(65,30) NOT NULL DEFAULT 0.00,
|
|
77
|
+
ADD COLUMN "turnover_year2" DECIMAL(65,30) NOT NULL DEFAULT 0.00,
|
|
78
|
+
ADD COLUMN "turnover_year3" DECIMAL(65,30) NOT NULL DEFAULT 0.00,
|
|
79
|
+
ADD COLUMN "year_end" TEXT NOT NULL,
|
|
80
|
+
ADD COLUMN "year_end1" INTEGER NOT NULL,
|
|
81
|
+
ADD COLUMN "year_end2" INTEGER NOT NULL,
|
|
82
|
+
ADD COLUMN "year_end3" INTEGER NOT NULL;
|
|
83
|
+
|
|
84
|
+
-- DropTable
|
|
85
|
+
DROP TABLE "companies";
|
|
86
|
+
|
|
87
|
+
-- CreateIndex
|
|
88
|
+
CREATE UNIQUE INDEX "applicant_shareholdings_company_id_key" ON "applicant_shareholdings"("company_id");
|
|
89
|
+
|
|
90
|
+
-- AddForeignKey
|
|
91
|
+
ALTER TABLE "applicant_shareholdings" ADD CONSTRAINT "applicant_shareholdings_company_id_fkey" FOREIGN KEY ("company_id") REFERENCES "application_companies"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
|
|
92
|
+
|
|
93
|
+
-- AddForeignKey
|
|
94
|
+
ALTER TABLE "application_companies" ADD CONSTRAINT "application_companies_business_type_lid_fkey" FOREIGN KEY ("business_type_lid") REFERENCES "lookups"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
|
|
95
|
+
|
|
96
|
+
-- AddForeignKey
|
|
97
|
+
ALTER TABLE "application_companies" ADD CONSTRAINT "application_companies_tax_jurisdiction_lid_fkey" FOREIGN KEY ("tax_jurisdiction_lid") REFERENCES "lookups"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
|
|
98
|
+
|
|
99
|
+
-- AddForeignKey
|
|
100
|
+
ALTER TABLE "application_companies" ADD CONSTRAINT "application_companies_address_country_lid_fkey" FOREIGN KEY ("address_country_lid") REFERENCES "lookups"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
|
package/prisma/schema.prisma
CHANGED
|
@@ -174,11 +174,10 @@ model Lookup {
|
|
|
174
174
|
securityStatus_rationales ApplicationRationale[] @relation("SecurityStatus")
|
|
175
175
|
propertyStatus_rationales ApplicationRationale[] @relation("PropertyStatus")
|
|
176
176
|
|
|
177
|
-
//
|
|
178
|
-
businessType_companies
|
|
179
|
-
taxJurisdiction_companies
|
|
180
|
-
addressCountry_companies
|
|
181
|
-
applicationType_companies Company[] @relation("ApplicationType")
|
|
177
|
+
// ApplicationCompany Relations
|
|
178
|
+
businessType_companies ApplicationCompany[] @relation("BusinessType")
|
|
179
|
+
taxJurisdiction_companies ApplicationCompany[] @relation("TaxJurisdiction")
|
|
180
|
+
addressCountry_companies ApplicationCompany[] @relation("AddressCountry")
|
|
182
181
|
|
|
183
182
|
// ResidenceCommitment Relations
|
|
184
183
|
financeTypeHpp_residenceCommitments ResidenceCommitment[] @relation("FinanceTypeHpp")
|
|
@@ -756,6 +755,25 @@ model ApplicantPropertyIncome {
|
|
|
756
755
|
@@map("applicant_property_income")
|
|
757
756
|
}
|
|
758
757
|
|
|
758
|
+
// From prisma/applicants/applicant-share-holding.prisma
|
|
759
|
+
model ApplicantShareholding {
|
|
760
|
+
id String @id @default(uuid())
|
|
761
|
+
companyId String @unique @map("company_id")
|
|
762
|
+
applicantId String @map("applicant_id")
|
|
763
|
+
applicantName String @default("") @map("applicant_name")
|
|
764
|
+
directorShareholderLid String? @map("director_shareholder_lid")
|
|
765
|
+
shareholding Int? @map("shareholding")
|
|
766
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
767
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
768
|
+
|
|
769
|
+
// Relations
|
|
770
|
+
company ApplicationCompany @relation(fields: [companyId], references: [id])
|
|
771
|
+
applicant Applicant @relation("ApplicantShareholdings", fields: [applicantId], references: [id])
|
|
772
|
+
directorShareholder Lookup? @relation("DirectorShareholder", fields: [directorShareholderLid], references: [id])
|
|
773
|
+
|
|
774
|
+
@@map("applicant_shareholdings")
|
|
775
|
+
}
|
|
776
|
+
|
|
759
777
|
// From prisma/applicants/applicant.prisma
|
|
760
778
|
model Applicant {
|
|
761
779
|
id String @id @default(uuid())
|
|
@@ -1099,15 +1117,58 @@ model ApplicationAudit {
|
|
|
1099
1117
|
|
|
1100
1118
|
// From prisma/applications/application-company.prisma
|
|
1101
1119
|
model ApplicationCompany {
|
|
1102
|
-
id
|
|
1103
|
-
applicationId
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1120
|
+
id String @id @default(uuid())
|
|
1121
|
+
applicationId String @unique @map("application_id")
|
|
1122
|
+
pageValidFlag Boolean? @default(true) @map("page_valid_flag")
|
|
1123
|
+
registeredName String @map("registered_name")
|
|
1124
|
+
businessTypeLid String @map("business_type_lid")
|
|
1125
|
+
registeredNumber Int @map("registered_number")
|
|
1126
|
+
taxJurisdictionLid String @map("tax_jurisdiction_lid")
|
|
1127
|
+
tradingSince String @map("trading_since")
|
|
1128
|
+
natureOfBusiness String @default("") @map("nature_of_business")
|
|
1129
|
+
yearEnd String @map("year_end")
|
|
1130
|
+
addressPostCode String @default("") @map("address_post_code")
|
|
1131
|
+
addressLine1 String @map("address_line1")
|
|
1132
|
+
addressLine2 String? @map("address_line2")
|
|
1133
|
+
addressLine3 String? @map("address_line3")
|
|
1134
|
+
addressCity String? @map("address_city")
|
|
1135
|
+
addressCountryLid String @map("address_country_lid")
|
|
1136
|
+
yearEnd1 Int @map("year_end1")
|
|
1137
|
+
turnoverYear1 Decimal @default(0.00) @map("turnover_year1")
|
|
1138
|
+
netProfitYear1 Decimal @default(0.00) @map("net_profit_year1")
|
|
1139
|
+
yearEnd2 Int @map("year_end2")
|
|
1140
|
+
turnoverYear2 Decimal @default(0.00) @map("turnover_year2")
|
|
1141
|
+
netProfitYear2 Decimal @default(0.00) @map("net_profit_year2")
|
|
1142
|
+
yearEnd3 Int @map("year_end3")
|
|
1143
|
+
turnoverYear3 Decimal @default(0.00) @map("turnover_year3")
|
|
1144
|
+
netProfitYear3 Decimal @default(0.00) @map("net_profit_year3")
|
|
1145
|
+
companyCreditDefaults String @default("") @map("company_credit_defaults")
|
|
1146
|
+
companyCountyCourtJudgment String @default("") @map("company_county_court_judgment")
|
|
1147
|
+
companySecuredArrears String @default("") @map("company_secured_arrears")
|
|
1148
|
+
companyUnsecuredArrears String @default("") @map("company_unsecured_arrears")
|
|
1149
|
+
companyBankruptcy String @default("") @map("company_bankruptcy")
|
|
1150
|
+
companyBankruptcyYes Boolean @default(false) @map("company_bankruptcy_yes")
|
|
1151
|
+
companyBankruptcyNo Boolean @default(true) @map("company_bankruptcy_no")
|
|
1152
|
+
companyCCJInLastThreeYearYes Boolean @default(false) @map("company_ccj_in_last_three_year_yes")
|
|
1153
|
+
companyCCJInLastThreeYearNo Boolean @default(true) @map("company_ccj_in_last_three_year_no")
|
|
1154
|
+
companyDefaultsInLastYearYes Boolean @default(false) @map("company_defaults_in_last_year_yes")
|
|
1155
|
+
companyDefaultsInLastYearNo Boolean @default(true) @map("company_defaults_in_last_year_no")
|
|
1156
|
+
companyAnyVoluntaryEnforcedPossessionYes Boolean @default(false) @map("company_any_voluntary_enforced_possession_yes")
|
|
1157
|
+
companyAnyVoluntaryEnforcedPossessionNo Boolean @default(true) @map("company_any_voluntary_enforced_possession_no")
|
|
1158
|
+
doYouKnowRegisteredNumber Boolean @default(true) @map("do_you_know_registered_number")
|
|
1159
|
+
sicCodes String[] @map("sic_codes")
|
|
1160
|
+
epc String @default("") @map("epc")
|
|
1161
|
+
remainingLease String @default("") @map("remaining_lease")
|
|
1162
|
+
dateOfIncorporation String? @map("date_of_incorporation")
|
|
1163
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
1164
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
1108
1165
|
|
|
1109
1166
|
// Relations
|
|
1110
|
-
application
|
|
1167
|
+
application Application @relation("ApplicationCompany", fields: [applicationId], references: [id])
|
|
1168
|
+
businessType Lookup @relation("BusinessType", fields: [businessTypeLid], references: [id])
|
|
1169
|
+
taxJurisdiction Lookup @relation("TaxJurisdiction", fields: [taxJurisdictionLid], references: [id])
|
|
1170
|
+
addressCountry Lookup @relation("AddressCountry", fields: [addressCountryLid], references: [id])
|
|
1171
|
+
applicantShareholdings ApplicantShareholding[]
|
|
1111
1172
|
|
|
1112
1173
|
@@map("application_companies")
|
|
1113
1174
|
}
|
|
@@ -1495,7 +1556,6 @@ model Application {
|
|
|
1495
1556
|
audits ApplicationAudit[]
|
|
1496
1557
|
underwriters Underwriter[] @relation("ApplicationUnderwriters")
|
|
1497
1558
|
products ApplicationProduct[] @relation("ApplicationProducts")
|
|
1498
|
-
companies Company[] @relation("Company")
|
|
1499
1559
|
|
|
1500
1560
|
// Lookup relations
|
|
1501
1561
|
applicationType Lookup @relation("ApplicationType", fields: [applicationTypeLid], references: [id])
|
|
@@ -1591,84 +1651,6 @@ model ChecklistItem {
|
|
|
1591
1651
|
@@map("checklist_items")
|
|
1592
1652
|
}
|
|
1593
1653
|
|
|
1594
|
-
// From prisma/applications/company.prisma
|
|
1595
|
-
model Company {
|
|
1596
|
-
id String @id @default(uuid())
|
|
1597
|
-
applicationId String @map("application_id")
|
|
1598
|
-
pageValidFlag Boolean @default(true) @map("page_valid_flag")
|
|
1599
|
-
registeredName String @map("registered_name")
|
|
1600
|
-
businessTypeLid String @map("business_type_lid")
|
|
1601
|
-
registeredNumber Int @map("registered_number")
|
|
1602
|
-
taxJurisdictionLid String @map("tax_jurisdiction_lid")
|
|
1603
|
-
tradingSince String? @map("trading_since")
|
|
1604
|
-
natureOfBusiness String @default("") @map("nature_of_business")
|
|
1605
|
-
yearEnd String? @map("year_end")
|
|
1606
|
-
addressPostCode String @default("") @map("address_post_code")
|
|
1607
|
-
addressLine1 String @map("address_line1")
|
|
1608
|
-
addressLine2 String? @map("address_line2")
|
|
1609
|
-
addressLine3 String? @map("address_line3")
|
|
1610
|
-
addressCity String? @map("address_city")
|
|
1611
|
-
addressCountryLid String @map("address_country_lid")
|
|
1612
|
-
applicationTypeLid String @map("application_type_lid")
|
|
1613
|
-
yearEnd1 Int @map("year_end1")
|
|
1614
|
-
turnoverYear1 Decimal @default(0.00) @map("turnover_year1")
|
|
1615
|
-
netProfitYear1 Decimal @default(0.00) @map("net_profit_year1")
|
|
1616
|
-
yearEnd2 Int @map("year_end2")
|
|
1617
|
-
turnoverYear2 Decimal @default(0.00) @map("turnover_year2")
|
|
1618
|
-
netProfitYear2 Decimal @default(0.00) @map("net_profit_year2")
|
|
1619
|
-
yearEnd3 Int @map("year_end3")
|
|
1620
|
-
turnoverYear3 Decimal @default(0.00) @map("turnover_year3")
|
|
1621
|
-
netProfitYear3 Decimal @default(0.00) @map("net_profit_year3")
|
|
1622
|
-
companyCreditDefaults String @default("") @map("company_credit_defaults")
|
|
1623
|
-
companyCountyCourtJudgment String @default("") @map("company_county_court_judgment")
|
|
1624
|
-
companySecuredArrears String @default("") @map("company_secured_arrears")
|
|
1625
|
-
companyUnsecuredArrears String @default("") @map("company_unsecured_arrears")
|
|
1626
|
-
companyBankruptcy String @default("") @map("company_bankruptcy")
|
|
1627
|
-
companyBankruptcyYes Boolean @default(false) @map("company_bankruptcy_yes")
|
|
1628
|
-
companyBankruptcyNo Boolean @default(true) @map("company_bankruptcy_no")
|
|
1629
|
-
companyCCJInLastThreeYearYes Boolean @default(false) @map("company_ccj_in_last_three_year_yes")
|
|
1630
|
-
companyCCJInLastThreeYearNo Boolean @default(true) @map("company_ccj_in_last_three_year_no")
|
|
1631
|
-
companyDefaultsInLastYearYes Boolean @default(false) @map("company_defaults_in_last_year_yes")
|
|
1632
|
-
companyDefaultsInLastYearNo Boolean @default(true) @map("company_defaults_in_last_year_no")
|
|
1633
|
-
companyAnyVoluntaryEnforcedPossessionYes Boolean @default(false) @map("company_any_voluntary_enforced_possession_yes")
|
|
1634
|
-
companyAnyVoluntaryEnforcedPossessionNo Boolean @default(true) @map("company_any_voluntary_enforced_possession_no")
|
|
1635
|
-
doYouKnowRegisteredNumber Boolean @default(true) @map("do_you_know_registered_number")
|
|
1636
|
-
sicCodes String[] @map("sic_codes")
|
|
1637
|
-
epc String @default("") @map("epc")
|
|
1638
|
-
remainingLease String @default("") @map("remaining_lease")
|
|
1639
|
-
dateOfIncorporation String? @map("date_of_incorporation")
|
|
1640
|
-
createdAt DateTime @default(now()) @map("created_at")
|
|
1641
|
-
updatedAt DateTime @updatedAt @map("updated_at")
|
|
1642
|
-
|
|
1643
|
-
// Relations
|
|
1644
|
-
application Application @relation("Company", fields: [applicationId], references: [id])
|
|
1645
|
-
businessType Lookup @relation("BusinessType", fields: [businessTypeLid], references: [id])
|
|
1646
|
-
taxJurisdiction Lookup @relation("TaxJurisdiction", fields: [taxJurisdictionLid], references: [id])
|
|
1647
|
-
addressCountry Lookup @relation("AddressCountry", fields: [addressCountryLid], references: [id])
|
|
1648
|
-
applicationType Lookup @relation("ApplicationType", fields: [applicationTypeLid], references: [id])
|
|
1649
|
-
applicantShareholdings ApplicantShareholding[]
|
|
1650
|
-
|
|
1651
|
-
@@map("companies")
|
|
1652
|
-
}
|
|
1653
|
-
|
|
1654
|
-
model ApplicantShareholding {
|
|
1655
|
-
id String @id @default(uuid())
|
|
1656
|
-
companyId String @map("company_id")
|
|
1657
|
-
applicantId String @map("applicant_id")
|
|
1658
|
-
applicantName String @default("") @map("applicant_name")
|
|
1659
|
-
directorShareholderLid String? @map("director_shareholder_lid")
|
|
1660
|
-
shareholding Int? @map("shareholding")
|
|
1661
|
-
createdAt DateTime @default(now()) @map("created_at")
|
|
1662
|
-
updatedAt DateTime @updatedAt @map("updated_at")
|
|
1663
|
-
|
|
1664
|
-
// Relations
|
|
1665
|
-
company Company @relation(fields: [companyId], references: [id])
|
|
1666
|
-
applicant Applicant @relation("ApplicantShareholdings", fields: [applicantId], references: [id])
|
|
1667
|
-
directorShareholder Lookup? @relation("DirectorShareholder", fields: [directorShareholderLid], references: [id])
|
|
1668
|
-
|
|
1669
|
-
@@map("applicant_shareholdings")
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
1654
|
// From prisma/applications/product-features.prisma
|
|
1673
1655
|
model ProductFeatures {
|
|
1674
1656
|
id String @id @default(uuid())
|
|
@@ -53,11 +53,10 @@ model Lookup {
|
|
|
53
53
|
securityStatus_rationales ApplicationRationale[] @relation("SecurityStatus")
|
|
54
54
|
propertyStatus_rationales ApplicationRationale[] @relation("PropertyStatus")
|
|
55
55
|
|
|
56
|
-
//
|
|
57
|
-
businessType_companies
|
|
58
|
-
taxJurisdiction_companies
|
|
59
|
-
addressCountry_companies
|
|
60
|
-
applicationType_companies Company[] @relation("ApplicationType")
|
|
56
|
+
// ApplicationCompany Relations
|
|
57
|
+
businessType_companies ApplicationCompany[] @relation("BusinessType")
|
|
58
|
+
taxJurisdiction_companies ApplicationCompany[] @relation("TaxJurisdiction")
|
|
59
|
+
addressCountry_companies ApplicationCompany[] @relation("AddressCountry")
|
|
61
60
|
|
|
62
61
|
// ResidenceCommitment Relations
|
|
63
62
|
financeTypeHpp_residenceCommitments ResidenceCommitment[] @relation("FinanceTypeHpp")
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { ApplicantEntity } from "../applicants/applicant.entity";
|
|
2
|
-
import { LookupEntity } from "../shared/lookup.entity";
|
|
3
|
-
import { ApplicationEntity } from "./application.entity";
|
|
4
|
-
export declare class ApplicantShareholdingEntity {
|
|
5
|
-
id: string;
|
|
6
|
-
companyId: string;
|
|
7
|
-
applicantId: string;
|
|
8
|
-
applicantName: string;
|
|
9
|
-
directorShareholderLid?: string;
|
|
10
|
-
shareholding?: number;
|
|
11
|
-
createdAt: Date;
|
|
12
|
-
updatedAt: Date;
|
|
13
|
-
company?: CompanyEntity;
|
|
14
|
-
applicant?: ApplicantEntity;
|
|
15
|
-
directorShareholder?: LookupEntity;
|
|
16
|
-
constructor(partial: Partial<ApplicantShareholdingEntity>);
|
|
17
|
-
}
|
|
18
|
-
export declare class CompanyEntity {
|
|
19
|
-
id: string;
|
|
20
|
-
applicationId: string;
|
|
21
|
-
pageValidFlag: boolean;
|
|
22
|
-
registeredName: string;
|
|
23
|
-
businessTypeLid: string;
|
|
24
|
-
registeredNumber: number;
|
|
25
|
-
taxJurisdictionLid: string;
|
|
26
|
-
tradingSince?: string;
|
|
27
|
-
natureOfBusiness: string;
|
|
28
|
-
yearEnd?: string;
|
|
29
|
-
addressPostCode: string;
|
|
30
|
-
addressLine1: string;
|
|
31
|
-
addressLine2?: string;
|
|
32
|
-
addressLine3?: string;
|
|
33
|
-
addressCity?: string;
|
|
34
|
-
addressCountryLid: string;
|
|
35
|
-
applicationTypeLid: string;
|
|
36
|
-
yearEnd1: number;
|
|
37
|
-
turnoverYear1: number;
|
|
38
|
-
netProfitYear1: number;
|
|
39
|
-
yearEnd2: number;
|
|
40
|
-
turnoverYear2: number;
|
|
41
|
-
netProfitYear2: number;
|
|
42
|
-
yearEnd3: number;
|
|
43
|
-
turnoverYear3: number;
|
|
44
|
-
netProfitYear3: number;
|
|
45
|
-
companyCreditDefaults: string;
|
|
46
|
-
companyCountyCourtJudgment: string;
|
|
47
|
-
companySecuredArrears: string;
|
|
48
|
-
companyUnsecuredArrears: string;
|
|
49
|
-
companyBankruptcy: string;
|
|
50
|
-
companyBankruptcyYes: boolean;
|
|
51
|
-
companyBankruptcyNo: boolean;
|
|
52
|
-
companyCCJInLastThreeYearYes: boolean;
|
|
53
|
-
companyCCJInLastThreeYearNo: boolean;
|
|
54
|
-
companyDefaultsInLastYearYes: boolean;
|
|
55
|
-
companyDefaultsInLastYearNo: boolean;
|
|
56
|
-
companyAnyVoluntaryEnforcedPossessionYes: boolean;
|
|
57
|
-
companyAnyVoluntaryEnforcedPossessionNo: boolean;
|
|
58
|
-
doYouKnowRegisteredNumber: boolean;
|
|
59
|
-
sicCodes: string[];
|
|
60
|
-
epc: string;
|
|
61
|
-
remainingLease: string;
|
|
62
|
-
dateOfIncorporation?: string;
|
|
63
|
-
createdAt: Date;
|
|
64
|
-
updatedAt: Date;
|
|
65
|
-
application?: ApplicationEntity;
|
|
66
|
-
businessType?: LookupEntity;
|
|
67
|
-
taxJurisdiction?: LookupEntity;
|
|
68
|
-
addressCountry?: LookupEntity;
|
|
69
|
-
applicationType?: LookupEntity;
|
|
70
|
-
applicantShareholdings?: ApplicantShareholdingEntity[];
|
|
71
|
-
constructor(partial: Partial<CompanyEntity>);
|
|
72
|
-
get businessTypeName(): string | null;
|
|
73
|
-
get taxJurisdictionName(): string | null;
|
|
74
|
-
get addressCountryName(): string | null;
|
|
75
|
-
get applicationTypeName(): string | null;
|
|
76
|
-
}
|
|
77
|
-
//# sourceMappingURL=company.entity.d.ts.map
|