Merge branch 'main' of https://git.shiblysolution.id/BRITL/entity
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
||||||
import { ComplianceRiskTransactionClassification, ComplianceRiskTransactionType } from "../types/compliance";
|
import { ComplianceRiskCustomerType, ComplianceRiskTransactionClassification, ComplianceRiskTransactionType } from "../types/compliance";
|
||||||
import { Application } from "./application";
|
import { Application } from "./application";
|
||||||
|
|
||||||
@Entity("compliance_risk_customers", { schema: "compliances" })
|
@Entity("compliance_risk_customers", { schema: "compliances" })
|
||||||
@ -17,6 +17,12 @@ export class ComplianceRiskCustomer {
|
|||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
application: Application;
|
application: Application;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
length: 256,
|
||||||
|
default: ComplianceRiskCustomerType.customer_personal,
|
||||||
|
})
|
||||||
|
type: ComplianceRiskCustomerType;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
nullable: true,
|
nullable: true,
|
||||||
length: 256,
|
length: 256,
|
||||||
|
|||||||
@ -13,10 +13,16 @@ export enum ComplianceRiskPepType {
|
|||||||
|
|
||||||
export enum ComplianceRiskFormulaType {
|
export enum ComplianceRiskFormulaType {
|
||||||
"transaction" = "transaction",
|
"transaction" = "transaction",
|
||||||
"customer" = "customer",
|
"customer_personal" = "customer_personal",
|
||||||
|
"customer_business" = "customer_business",
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum ComplianceRiskTransactionType {
|
export enum ComplianceRiskTransactionType {
|
||||||
"bri" = "bri",
|
"bri" = "bri",
|
||||||
"wic" = "wic",
|
"wic" = "wic",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum ComplianceRiskCustomerType {
|
||||||
|
"customer_personal" = "customer_personal",
|
||||||
|
"customer_business" = "customer_business",
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user