update
This commit is contained in:
28
src/entity/earchive_mails.ts
Normal file
28
src/entity/earchive_mails.ts
Normal 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;
|
||||
}
|
||||
@ -13,3 +13,4 @@ export * from "./schema/compliance";
|
||||
export * from "./schema/trx";
|
||||
export * from "./schema/gps";
|
||||
export * from "./schema/telemor";
|
||||
export * from "./schema/earchive";
|
||||
|
||||
1
src/schema/earchive.ts
Normal file
1
src/schema/earchive.ts
Normal file
@ -0,0 +1 @@
|
||||
export * from "../entity/earchive_mails";
|
||||
Reference in New Issue
Block a user