This commit is contained in:
fro1991
2025-10-21 20:53:25 +07:00
parent 38d88ad7e5
commit 9217db541b
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
import { Column, CreateDateColumn, DeleteDateColumn, Entity, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
@Entity("earchive_mails", { schema: "earchive" })
export class EarchiveMail {
@PrimaryGeneratedColumn("uuid")
id: string;
@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

@ -13,3 +13,4 @@ export * from "./schema/compliance";
export * from "./schema/trx"; export * from "./schema/trx";
export * from "./schema/gps"; export * from "./schema/gps";
export * from "./schema/telemor"; export * from "./schema/telemor";
export * from "./schema/earchive";

1
src/schema/earchive.ts Normal file
View File

@ -0,0 +1 @@
export * from "../entity/earchive_mails";