From 263f82aaffb83027ac149f771d0328fafd7c31c3 Mon Sep 17 00:00:00 2001 From: williamfl2007 Date: Tue, 27 Feb 2024 17:03:29 -0300 Subject: [PATCH] ajuste entidades --- src/cnab/entitys/header-arquivo.entity.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/cnab/entitys/header-arquivo.entity.ts b/src/cnab/entitys/header-arquivo.entity.ts index 88e3cc7b..86142d67 100644 --- a/src/cnab/entitys/header-arquivo.entity.ts +++ b/src/cnab/entitys/header-arquivo.entity.ts @@ -15,14 +15,12 @@ class HeaderArquivo extends EntityHelper{ dv_conta:string; nome_empresa:string; dt_geracao: Date; - @Column({ type: 'timestamp' }) + @Column({ arg0: { type: 'timestamp' } }) hr_geracao: Date; id_transacao:number; } -function Column(arg0: { type: string; }): (target: HeaderArquivo, propertyKey: "hr_geracao") => void { - throw new Error("Function not implemented."); -} + function Entity(): (target: typeof HeaderArquivo) => void | typeof HeaderArquivo { throw new Error("Function not implemented."); }