Merge branch 'main' of https://git.shiblysolution.id/BRITL/entity
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
import { ComplianceRiskPepType } from "../types/compliance";
|
||||
import { ComplianceCountryPep, ComplianceRiskPepType } from "../types/compliance";
|
||||
|
||||
@Entity("compliance_risk_peps", { schema: "compliances" })
|
||||
export class ComplianceRiskPep {
|
||||
@ -36,6 +36,13 @@ export class ComplianceRiskPep {
|
||||
})
|
||||
relation_type: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
default: "tl",
|
||||
length: 256,
|
||||
})
|
||||
country: ComplianceCountryPep;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
|
||||
@ -24,6 +24,12 @@ export class EarchiveReceiver {
|
||||
@Column({ name: 'namereceiver', nullable: true })
|
||||
namereceiver: string;
|
||||
|
||||
@Column({ name: 'is_read', default: false })
|
||||
is_read: boolean;
|
||||
|
||||
@Column({ name: 'read_at', nullable: true })
|
||||
read_at: Date;
|
||||
|
||||
@Column()
|
||||
@CreateDateColumn()
|
||||
created_at: Date;
|
||||
|
||||
@ -33,6 +33,11 @@ export enum ComplianceRegulatorReportType {
|
||||
"publication" = "publication",
|
||||
}
|
||||
|
||||
export enum ComplianceCountryPep {
|
||||
"indonesia" = "indonesia",
|
||||
"tl" = "tl",
|
||||
}
|
||||
|
||||
export enum ComplianceRegulatorReportCode {
|
||||
"coa" = "coa",
|
||||
"cash_non_cash" = "cash_non_cash",
|
||||
|
||||
Reference in New Issue
Block a user