From 674ca83ba9243a9e95a7568c797668dab6aee26a Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 10:35:25 -0300 Subject: feat: upload files --- .../AtividadeDb.cs | 25 +++ .../AtualizacaoDb.cs | 24 +++ .../BancoDb.cs | 36 ++++ .../ControleArquivoDigitalDb.cs | 25 +++ .../EmpresaDb.cs | 189 +++++++++++++++++++++ .../IndiceArquivoDigitalDb.cs | 181 ++++++++++++++++++++ .../ModeloMalaDiretaDb.cs | 25 +++ .../ProfissaoDb.cs | 31 ++++ .../RegistroAcaoDb.cs | 81 +++++++++ .../RegistroLogDb.cs | 81 +++++++++ .../SocioDb.cs | 62 +++++++ 11 files changed, 760 insertions(+) create mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/AtividadeDb.cs create mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/AtualizacaoDb.cs create mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/BancoDb.cs create mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/ControleArquivoDigitalDb.cs create mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/EmpresaDb.cs create mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/IndiceArquivoDigitalDb.cs create mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/ModeloMalaDiretaDb.cs create mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/ProfissaoDb.cs create mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/RegistroAcaoDb.cs create mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/RegistroLogDb.cs create mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/SocioDb.cs (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common') diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/AtividadeDb.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/AtividadeDb.cs new file mode 100644 index 0000000..6b5c04f --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/AtividadeDb.cs @@ -0,0 +1,25 @@ +using Gestor.Infrastructure.Entities.Generic; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Common +{ + public class AtividadeDb : EntityBase + { + public virtual string Cnac + { + get; + set; + } + + public virtual string Nome + { + get; + set; + } + + public AtividadeDb() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/AtualizacaoDb.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/AtualizacaoDb.cs new file mode 100644 index 0000000..4e93f60 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/AtualizacaoDb.cs @@ -0,0 +1,24 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Common +{ + public class AtualizacaoDb + { + public virtual DateTime DataAtualizacao + { + get; + set; + } + + public virtual long IdArquivo + { + get; + set; + } + + public AtualizacaoDb() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/BancoDb.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/BancoDb.cs new file mode 100644 index 0000000..db60a00 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/BancoDb.cs @@ -0,0 +1,36 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Common +{ + public class BancoDb + { + public virtual int Codigo + { + get; + set; + } + + public virtual int Id + { + get; + set; + } + + public virtual string Nome + { + get; + set; + } + + public virtual string Site + { + get; + set; + } + + public BancoDb() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/ControleArquivoDigitalDb.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/ControleArquivoDigitalDb.cs new file mode 100644 index 0000000..d9324c0 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/ControleArquivoDigitalDb.cs @@ -0,0 +1,25 @@ +using Gestor.Infrastructure.Entities.Generic; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Common +{ + public class ControleArquivoDigitalDb : EntityBase + { + public virtual string Catalogo + { + get; + set; + } + + public virtual string Tabela + { + get; + set; + } + + public ControleArquivoDigitalDb() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/EmpresaDb.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/EmpresaDb.cs new file mode 100644 index 0000000..aba1186 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/EmpresaDb.cs @@ -0,0 +1,189 @@ +using Gestor.Infrastructure.Entities.Generic; +using Gestor.Model.Common; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Common +{ + public class EmpresaDb : EnderecoBase + { + private string _email; + + public virtual string Documento + { + get; + set; + } + + public virtual string Email + { + get + { + string str = this._email; + if (str != null) + { + return str.ToLower(); + } + return null; + } + set + { + this._email = value; + } + } + + public virtual string EmailResponsavel + { + get; + set; + } + + public virtual string Facebook + { + get; + set; + } + + public virtual string Instagram + { + get; + set; + } + + public virtual string Linkdin + { + get; + set; + } + + public virtual string Localizacao + { + get; + set; + } + + public virtual byte[] Logo + { + get; + set; + } + + public virtual string LogoId + { + get; + set; + } + + public virtual int MaxFileSize + { + get; + set; + } + + public virtual string Nome + { + get; + set; + } + + public virtual string NomeSocial + { + get; + set; + } + + public virtual string PrimeiroPrefixo + { + get; + set; + } + + public virtual string PrimeiroTelefone + { + get; + set; + } + + public virtual string QuantidadeFiliais + { + get; + set; + } + + public virtual long QuantidadeFuncionarios + { + get; + set; + } + + public virtual string Responsavel + { + get; + set; + } + + public virtual string SegundoPrefixo + { + get; + set; + } + + public virtual string SegundoTelefone + { + get; + set; + } + + public virtual string SenhaAdmin + { + get; + set; + } + + public virtual string Serial + { + get; + set; + } + + public virtual string Site + { + get; + set; + } + + public virtual TipoTelefone? TipoTelefone1 + { + get; + set; + } + + public virtual TipoTelefone? TipoTelefone2 + { + get; + set; + } + + public virtual string Twitter + { + get; + set; + } + + public virtual string Whatsapp + { + get; + set; + } + + public virtual string WhatsappSinistro + { + get; + set; + } + + public EmpresaDb() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/IndiceArquivoDigitalDb.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/IndiceArquivoDigitalDb.cs new file mode 100644 index 0000000..fafb4aa --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/IndiceArquivoDigitalDb.cs @@ -0,0 +1,181 @@ +using Gestor.Infrastructure.Entities.Generic; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Common +{ + public class IndiceArquivoDigitalDb : EntityBase + { + public virtual Guid? AzureGuid + { + get; + set; + } + + public virtual string AzureStorage + { + get; + set; + } + + public virtual string BD + { + get; + set; + } + + public virtual DateTime? DataAtualizacao + { + get; + set; + } + + public virtual DateTime? DataCriacao + { + get; + set; + } + + public virtual string Descricao + { + get; + set; + } + + public virtual bool Excluido + { + get; + set; + } + + public virtual string Extensao + { + get; + set; + } + + public virtual long IdArquivoDigital + { + get; + set; + } + + public virtual long IdCliente + { + get; + set; + } + + public virtual long IdDocumento + { + get; + set; + } + + public virtual long IdEmpresa + { + get; + set; + } + + public virtual long IdEstipulante + { + get; + set; + } + + public virtual long IdExtrato + { + get; + set; + } + + public virtual long IdFornecedor + { + get; + set; + } + + public virtual long IdItem + { + get; + set; + } + + public virtual long IdLancamento + { + get; + set; + } + + public virtual long IdNotaFiscal + { + get; + set; + } + + public virtual long IdParcela + { + get; + set; + } + + public virtual long IdProspeccao + { + get; + set; + } + + public virtual long IdSeguradora + { + get; + set; + } + + public virtual long IdSinistro + { + get; + set; + } + + public virtual long IdSocio + { + get; + set; + } + + public virtual long IdTarefa + { + get; + set; + } + + public virtual long IdUsuario + { + get; + set; + } + + public virtual long IdVendedor + { + get; + set; + } + + public virtual long UsuarioAtualizacao + { + get; + set; + } + + public virtual long UsuarioCriacao + { + get; + set; + } + + public IndiceArquivoDigitalDb() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/ModeloMalaDiretaDb.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/ModeloMalaDiretaDb.cs new file mode 100644 index 0000000..9e1eb04 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/ModeloMalaDiretaDb.cs @@ -0,0 +1,25 @@ +using Gestor.Infrastructure.Entities.Generic; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Common +{ + public class ModeloMalaDiretaDb : EntityBase + { + public virtual string Assunto + { + get; + set; + } + + public virtual string Corpo + { + get; + set; + } + + public ModeloMalaDiretaDb() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/ProfissaoDb.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/ProfissaoDb.cs new file mode 100644 index 0000000..15d2d47 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/ProfissaoDb.cs @@ -0,0 +1,31 @@ +using Gestor.Infrastructure.Entities.Generic; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Common +{ + public class ProfissaoDb : EntityBase + { + public virtual string Aniversario + { + get; + set; + } + + public virtual string Codigo + { + get; + set; + } + + public virtual string Nome + { + get; + set; + } + + public ProfissaoDb() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/RegistroAcaoDb.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/RegistroAcaoDb.cs new file mode 100644 index 0000000..edaece7 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/RegistroAcaoDb.cs @@ -0,0 +1,81 @@ +using Gestor.Infrastructure.Entities.Generic; +using Gestor.Infrastructure.Entities.Seguros; +using Gestor.Model.Common; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Common +{ + public class RegistroAcaoDb : EntityBase + { + public virtual DateTime DataHora + { + get; + set; + } + + public virtual string Descricao + { + get; + set; + } + + public virtual long EntidadeId + { + get; + set; + } + + public virtual string Ip + { + get; + set; + } + + public virtual string NomeMaquina + { + get; + set; + } + + public virtual string Observacao + { + get; + set; + } + + public virtual Gestor.Model.Common.Relatorio? Relatorio + { + get; + set; + } + + public virtual TipoTela? Tela + { + get; + set; + } + + public virtual UsuarioDb Usuario + { + get; + set; + } + + public virtual string UsuarioMaquina + { + get; + set; + } + + public virtual string Versao + { + get; + set; + } + + public RegistroAcaoDb() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/RegistroLogDb.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/RegistroLogDb.cs new file mode 100644 index 0000000..97b1384 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/RegistroLogDb.cs @@ -0,0 +1,81 @@ +using Gestor.Infrastructure.Entities.Generic; +using Gestor.Infrastructure.Entities.Seguros; +using Gestor.Model.Common; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Common +{ + public class RegistroLogDb : EntityBase + { + public virtual TipoAcao Acao + { + get; + set; + } + + public virtual DateTime DataHora + { + get; + set; + } + + public virtual string Descricao + { + get; + set; + } + + public virtual long EntidadeId + { + get; + set; + } + + public virtual string Ip + { + get; + set; + } + + public virtual bool ModeloNovo + { + get; + set; + } + + public virtual string NomeMaquina + { + get; + set; + } + + public virtual TipoTela Tela + { + get; + set; + } + + public virtual UsuarioDb Usuario + { + get; + set; + } + + public virtual string UsuarioMaquina + { + get; + set; + } + + public virtual string Versao + { + get; + set; + } + + public RegistroLogDb() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/SocioDb.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/SocioDb.cs new file mode 100644 index 0000000..8a5e7d2 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Common/SocioDb.cs @@ -0,0 +1,62 @@ +using Gestor.Infrastructure.Entities.Generic; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Common +{ + public class SocioDb : EnderecoBase + { + private string _email; + + public virtual string Email + { + get + { + string str = this._email; + if (str != null) + { + return str.ToLower(); + } + return null; + } + set + { + this._email = value; + } + } + + public virtual bool Excluido + { + get; + set; + } + + public virtual long IdEmpresa + { + get; + set; + } + + public virtual string Nome + { + get; + set; + } + + public virtual string Prefixo + { + get; + set; + } + + public virtual string Telefone + { + get; + set; + } + + public SocioDb() + { + } + } +} \ No newline at end of file -- cgit v1.2.3