update
This commit is contained in:
41
src/entity/compliance_futuru_cif_sync_logs.ts
Normal file
41
src/entity/compliance_futuru_cif_sync_logs.ts
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
import { Column, CreateDateColumn, DeleteDateColumn, Entity, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
||||||
|
import { ComplianceFuturuCifSyncLogStatus } from "../types/compliance";
|
||||||
|
|
||||||
|
@Entity("compliance_futuru_cif_sync_logs", { schema: "compliances" })
|
||||||
|
export class ComplianceFuturuCifSyncLog {
|
||||||
|
@PrimaryGeneratedColumn("uuid")
|
||||||
|
id: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 256,
|
||||||
|
})
|
||||||
|
file: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: false,
|
||||||
|
length: 64,
|
||||||
|
})
|
||||||
|
status: ComplianceFuturuCifSyncLogStatus;
|
||||||
|
|
||||||
|
@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;
|
||||||
|
}
|
||||||
@ -39,3 +39,9 @@ export enum ComplianceRegulatorReportCode {
|
|||||||
"hau_nia_futuru_gender" = "hau_nia_futuru_gender",
|
"hau_nia_futuru_gender" = "hau_nia_futuru_gender",
|
||||||
"hau_nia_futuru_age" = "hau_nia_futuru_age",
|
"hau_nia_futuru_age" = "hau_nia_futuru_age",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum ComplianceFuturuCifSyncLogStatus {
|
||||||
|
"pending" = "pending",
|
||||||
|
"process" = "process",
|
||||||
|
"done" = "done",
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user