This commit is contained in:
fro1991
2025-11-22 01:24:06 +09:00
parent f871f2852d
commit 5bc33ed824
2 changed files with 47 additions and 0 deletions

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

View File

@ -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",
}