This commit is contained in:
fro1991
2025-11-09 02:37:43 +07:00
parent e0e687596a
commit 6ffea2ec3c
2 changed files with 62 additions and 0 deletions

View File

@ -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;
}

View File

@ -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";