From 6ffea2ec3c011fefb4789f4c4b61199e9127e57e Mon Sep 17 00:00:00 2001 From: fro1991 Date: Sun, 9 Nov 2025 02:37:43 +0700 Subject: [PATCH] update --- src/entity/compliance_aml_news.ts | 61 +++++++++++++++++++++++++++++++ src/schema/compliance.ts | 1 + 2 files changed, 62 insertions(+) create mode 100644 src/entity/compliance_aml_news.ts diff --git a/src/entity/compliance_aml_news.ts b/src/entity/compliance_aml_news.ts new file mode 100644 index 0000000..680be01 --- /dev/null +++ b/src/entity/compliance_aml_news.ts @@ -0,0 +1,61 @@ +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"; + +@Entity("compliance_aml_news", { schema: "compliances" }) +export class ComplianceAmlNew { + @PrimaryGeneratedColumn("uuid") + id: string; + + @Column({ + nullable: true, + length: 256, + }) + name: string; + + @Column({ + nullable: true, + length: 256, + }) + remarks: string; + + @Column({ + nullable: true, + length: 4096, + }) + link: string; + + @Column({ + nullable: true, + length: 4096, + }) + file: string; + + @Column({ + nullable: false, + length: 64, + }) + status: Status; + + @Column() + @CreateDateColumn() + created_at: Date; + + @Column({ nullable: true, length: 256 }) + created_by: string; + + @Column({ nullable: true }) + @UpdateDateColumn() + updated_at: Date; + + @Column({ nullable: true, length: 256 }) + updated_by: string; + + @Column({ nullable: true }) + @DeleteDateColumn() + deleted_at: Date; + + @Column({ nullable: true, length: 256 }) + deleted_by: string; +} diff --git a/src/schema/compliance.ts b/src/schema/compliance.ts index d64d7c7..7d3009d 100644 --- a/src/schema/compliance.ts +++ b/src/schema/compliance.ts @@ -5,3 +5,4 @@ export * from "../entity/compliance_risk_parameter_informations"; export * from "../entity/compliance_risk_formulas"; export * from "../entity/compliance_risk_transactions"; export * from "../entity/compliance_risk_transaction_details"; +export * from "../entity/compliance_aml_news";