From 1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 10:38:18 -0300 Subject: chore: location --- .../AgendaEmailMap.cs | 21 ------------ .../AgendaMap.cs | 28 ---------------- .../AgendaTelefoneMap.cs | 24 -------------- .../CategoriaTarefaMap.cs | 20 ------------ .../CredencialMap.cs | 34 ------------------- .../FaseMap.cs | 23 ------------- .../ImpostoMap.cs | 27 --------------- .../LogEmailMap.cs | 34 ------------------- .../NotaFiscalMap.cs | 30 ----------------- .../OrigemClienteMap.cs | 23 ------------- .../ReciboMap.cs | 28 ---------------- .../ResponsavelTarefaMap.cs | 22 ------------- .../StatusProspeccaoMap.cs | 23 ------------- .../TarefaMap.cs | 38 ---------------------- .../TipoTarefaMap.cs | 23 ------------- .../TrilhaMap.cs | 24 -------------- .../VinculoRepasseMap.cs | 24 -------------- 17 files changed, 446 deletions(-) delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaEmailMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaTelefoneMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/CategoriaTarefaMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/CredencialMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/FaseMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/ImpostoMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/LogEmailMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/NotaFiscalMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/OrigemClienteMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/ReciboMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/ResponsavelTarefaMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/StatusProspeccaoMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/TarefaMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/TipoTarefaMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/TrilhaMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/VinculoRepasseMap.cs (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas') diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaEmailMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaEmailMap.cs deleted file mode 100644 index 67624d1..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaEmailMap.cs +++ /dev/null @@ -1,21 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class AgendaEmailMap : ClassMap - { - public AgendaEmailMap() - { - base.Table("agendaemail"); - base.LazyLoad(); - base.Id((AgendaEmailDb x) => (object)x.Id).GeneratedBy.Identity().Column("idagendaemail"); - base.References((AgendaEmailDb x) => x.Agenda).Column("idagenda").Not.Nullable().Fetch.Join(); - base.Map((AgendaEmailDb x) => x.Email).Column("email").Not.Nullable(); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaMap.cs deleted file mode 100644 index e70b806..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaMap.cs +++ /dev/null @@ -1,28 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class AgendaMap : ClassMap - { - public AgendaMap() - { - base.Table("agenda"); - base.LazyLoad(); - base.Id((AgendaDb x) => (object)x.Id).GeneratedBy.Identity().Column("idagenda"); - base.Map((AgendaDb x) => x.Nome).Column("nome").Not.Nullable(); - base.Map((AgendaDb x) => x.Endereco).Column("endereco"); - base.Map((AgendaDb x) => x.Cep).Column("cep"); - base.Map((AgendaDb x) => x.Numero).Column("numero"); - base.Map((AgendaDb x) => x.Complemento).Column("complemento"); - base.Map((AgendaDb x) => x.Bairro).Column("bairro"); - base.Map((AgendaDb x) => x.Cidade).Column("cidade"); - base.Map((AgendaDb x) => x.Estado).Column("estado"); - base.Map((AgendaDb x) => x.Observacao).Column("observacao").CustomType("StringClob").CustomSqlType("varchar(MAX)"); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaTelefoneMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaTelefoneMap.cs deleted file mode 100644 index a08d55e..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaTelefoneMap.cs +++ /dev/null @@ -1,24 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class AgendaTelefoneMap : ClassMap - { - public AgendaTelefoneMap() - { - base.Table("agendatelefone"); - base.LazyLoad(); - base.Id((AgendaTelefoneDb x) => (object)x.Id).GeneratedBy.Identity().Column("idagendatelefone"); - base.References((AgendaTelefoneDb x) => x.Agenda).Column("idagenda").Not.Nullable().Fetch.Join(); - base.Map((AgendaTelefoneDb x) => (object)x.Tipo).CustomType().Column("tipo"); - base.Map((AgendaTelefoneDb x) => x.Prefixo).Column("ddd"); - base.Map((AgendaTelefoneDb x) => x.Numero).Column("fone").Not.Nullable(); - base.Map((AgendaTelefoneDb x) => x.Observacao).Column("observacao").CustomType("StringClob").CustomSqlType("varchar(MAX)"); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/CategoriaTarefaMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/CategoriaTarefaMap.cs deleted file mode 100644 index b0cd7d1..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/CategoriaTarefaMap.cs +++ /dev/null @@ -1,20 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class CategoriaTarefaMap : ClassMap - { - public CategoriaTarefaMap() - { - base.Table("CategoriaTarefa"); - base.LazyLoad(); - base.Id((CategoriaTarefaDb x) => (object)x.Id).GeneratedBy.Identity(); - base.Map((CategoriaTarefaDb x) => x.Descricao); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/CredencialMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/CredencialMap.cs deleted file mode 100644 index d7cff32..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/CredencialMap.cs +++ /dev/null @@ -1,34 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class CredencialMap : ClassMap - { - public CredencialMap() - { - base.Table("enviosmtp"); - base.LazyLoad(); - base.Id((CredencialDb x) => (object)x.Id).GeneratedBy.Identity().Column("idenviosmtp"); - base.Map((CredencialDb x) => (object)x.IdEmpresa).Column("idempresa").Not.Nullable(); - base.Map((CredencialDb x) => (object)x.IdUsuario).Column("idusuario").Not.Nullable(); - base.Map((CredencialDb x) => x.Header); - base.Map((CredencialDb x) => (object)x.Tipo).CustomType(); - base.Map((CredencialDb x) => x.Descricao).Column("nome"); - base.Map((CredencialDb x) => x.Email).Column("email"); - base.Map((CredencialDb x) => x.Dominio).Column("server"); - base.Map((CredencialDb x) => (object)x.Porta).Column("port"); - base.Map((CredencialDb x) => x.Usuario).Column("credential"); - base.Map((CredencialDb x) => x.Senha).Column("senha"); - base.Map((CredencialDb x) => (object)x.Seguro).Column("ssl").CustomType(); - base.Map((CredencialDb x) => x.Cabecalho).Column("cabecalho").Length(4001); - base.Map((CredencialDb x) => x.Assinatura).Column("assinatura").Length(4001); - base.Map((CredencialDb x) => x.Replyto); - base.Map((CredencialDb x) => (object)x.Excluido); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/FaseMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/FaseMap.cs deleted file mode 100644 index 4be2384..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/FaseMap.cs +++ /dev/null @@ -1,23 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class FaseMap : ClassMap - { - public FaseMap() - { - base.Table("Fase"); - base.LazyLoad(); - base.Id((FaseDb x) => (object)x.Id).GeneratedBy.Identity(); - base.References((FaseDb x) => x.Trilha).Column("IdTrilha").Not.Nullable(); - base.Map((FaseDb x) => x.Titulo); - base.Map((FaseDb x) => x.Descricao); - base.Map((FaseDb x) => (object)x.Expiracao); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/ImpostoMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/ImpostoMap.cs deleted file mode 100644 index 4cce11b..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/ImpostoMap.cs +++ /dev/null @@ -1,27 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using Gestor.Infrastructure.Entities.Seguros; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class ImpostoMap : ClassMap - { - public ImpostoMap() - { - base.Table("Imposto"); - base.LazyLoad(); - base.Id((ImpostoDb x) => (object)x.Id).GeneratedBy.Identity(); - base.References((ImpostoDb x) => x.Seguradora).Column("idciaseg").NotFound.Ignore().Fetch.Join(); - base.References((ImpostoDb x) => x.Ramo).Column("idramo").NotFound.Ignore().Fetch.Join(); - base.Map((ImpostoDb x) => (object)x.Ir).Not.Nullable(); - base.Map((ImpostoDb x) => (object)x.Iss).Not.Nullable(); - base.Map((ImpostoDb x) => (object)x.Outros).Not.Nullable(); - base.Map((ImpostoDb x) => (object)x.Desconto).Not.Nullable(); - base.Map((ImpostoDb x) => (object)x.Ativo).Not.Nullable().Default("1"); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/LogEmailMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/LogEmailMap.cs deleted file mode 100644 index 1bd1140..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/LogEmailMap.cs +++ /dev/null @@ -1,34 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class LogEmailMap : ClassMap - { - public LogEmailMap() - { - base.Table("LogEmail"); - base.LazyLoad(); - base.Id((LogEmailDb x) => (object)x.Id).GeneratedBy.Identity(); - base.References((LogEmailDb x) => x.Credencial); - base.References((LogEmailDb x) => x.Usuario); - base.Map((LogEmailDb x) => (object)x.Tela).CustomType(); - base.Map((LogEmailDb x) => (object)x.Data); - base.Map((LogEmailDb x) => x.Destinatarios).CustomType("StringClob").CustomSqlType("varchar(MAX)"); - base.Map((LogEmailDb x) => x.Assunto).CustomType("StringClob").CustomSqlType("varchar(MAX)"); - base.Map((LogEmailDb x) => (object)x.EntityId); - base.Map((LogEmailDb x) => x.Cco).CustomType("StringClob").CustomSqlType("varchar(MAX)"); - base.Map((LogEmailDb x) => x.Corpo).CustomType("StringClob").CustomSqlType("varchar(MAX)"); - base.Map((LogEmailDb x) => x.Anexos).CustomType("StringClob").CustomSqlType("varchar(MAX)"); - base.Map((LogEmailDb x) => x.Versao); - base.Map((LogEmailDb x) => x.NomeMaquina); - base.Map((LogEmailDb x) => x.UsuarioMaquina); - base.Map((LogEmailDb x) => x.Ip); - base.Map((LogEmailDb x) => (object)x.Relatorio).CustomType(); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/NotaFiscalMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/NotaFiscalMap.cs deleted file mode 100644 index 3782c71..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/NotaFiscalMap.cs +++ /dev/null @@ -1,30 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using Gestor.Infrastructure.Entities.Seguros; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class NotaFiscalMap : ClassMap - { - public NotaFiscalMap() - { - base.Table("NotaFiscal"); - base.LazyLoad(); - base.References((NotaFiscalDb x) => x.Seguradora).Column("IdSeguradora"); - base.References((NotaFiscalDb x) => x.Estipulante).Column("IdEstipulante").Fetch.Join().NotFound.Ignore(); - base.Id((NotaFiscalDb x) => (object)x.Id).GeneratedBy.Identity(); - base.Map((NotaFiscalDb x) => (object)x.IdExtrato); - base.Map((NotaFiscalDb x) => (object)x.Iss); - base.Map((NotaFiscalDb x) => (object)x.ValorLiquido); - base.Map((NotaFiscalDb x) => (object)x.ValorBruto); - base.Map((NotaFiscalDb x) => (object)x.Data); - base.Map((NotaFiscalDb x) => x.Obs).CustomSqlType("varchar(MAX)"); - base.Map((NotaFiscalDb x) => x.Extrato).CustomSqlType("varchar(100)"); - base.Map((NotaFiscalDb x) => (object)x.Ir); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/OrigemClienteMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/OrigemClienteMap.cs deleted file mode 100644 index 8366f28..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/OrigemClienteMap.cs +++ /dev/null @@ -1,23 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using Gestor.Infrastructure.Entities.Seguros; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - internal class OrigemClienteMap : ClassMap - { - public OrigemClienteMap() - { - base.Table("origemcliente"); - base.LazyLoad(); - base.Id((OrigemClienteDb x) => (object)x.Id).Column("idorigemcliente").GeneratedBy.Identity(); - base.References((OrigemClienteDb x) => x.Cliente).Column("idcliente").Fetch.Join(); - base.Map((OrigemClienteDb x) => (object)x.TipoOrigem).Column("idtipoorigemcli"); - base.Map((OrigemClienteDb x) => x.Nome).Length(100); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/ReciboMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/ReciboMap.cs deleted file mode 100644 index 36ded4b..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/ReciboMap.cs +++ /dev/null @@ -1,28 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class ReciboMap : ClassMap - { - public ReciboMap() - { - base.Table("recibo"); - base.LazyLoad(); - base.Id((ReciboDb x) => (object)x.Id).GeneratedBy.Identity().Column("idrecibo"); - base.Map((ReciboDb x) => (object)x.Tipo).Column("IdTipoRecibo").CustomType(); - base.Map((ReciboDb x) => (object)x.Pagamento).Column("idtipopagto").CustomType(); - base.Map((ReciboDb x) => (object)x.Valor).Column("valor").Not.Nullable(); - base.Map((ReciboDb x) => (object)x.DataRecibo).Column("datarecibo").Not.Nullable(); - base.Map((ReciboDb x) => x.Pagante).Column("sacado"); - base.Map((ReciboDb x) => x.DocumentoPagante).Column("cpfcnpj"); - base.Map((ReciboDb x) => x.Recebedor).Column("recebedor"); - base.Map((ReciboDb x) => x.DocumentoRecebedor).Column("cpfcnpjrecebedor"); - base.Map((ReciboDb x) => x.Referente).Column("referente").Not.Nullable(); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/ResponsavelTarefaMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/ResponsavelTarefaMap.cs deleted file mode 100644 index 82d9578..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/ResponsavelTarefaMap.cs +++ /dev/null @@ -1,22 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using Gestor.Infrastructure.Entities.Seguros; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class ResponsavelTarefaMap : ClassMap - { - public ResponsavelTarefaMap() - { - base.Table("ResponsavelTarefa"); - base.LazyLoad(); - base.Id((ResponsavelTarefaDb x) => (object)x.Id).GeneratedBy.Identity(); - base.References((ResponsavelTarefaDb x) => x.Usuario).Not.Nullable().Fetch.Join(); - base.Map((ResponsavelTarefaDb x) => (object)x.IdTarefa).Not.Nullable(); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/StatusProspeccaoMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/StatusProspeccaoMap.cs deleted file mode 100644 index c11a811..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/StatusProspeccaoMap.cs +++ /dev/null @@ -1,23 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class StatusProspeccaoMap : ClassMap - { - public StatusProspeccaoMap() - { - base.Table("StatusProspeccao"); - base.LazyLoad(); - base.Id((StatusDeProspeccaoDb x) => (object)x.Id).GeneratedBy.Identity(); - base.Map((StatusDeProspeccaoDb x) => x.Nome); - base.Map((StatusDeProspeccaoDb x) => x.Descricao).CustomType("StringClob").CustomSqlType("nvarchar(max)"); - base.Map((StatusDeProspeccaoDb x) => (object)x.Ativo); - base.Map((StatusDeProspeccaoDb x) => (object)x.Excluido); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/TarefaMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/TarefaMap.cs deleted file mode 100644 index d4ebb97..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/TarefaMap.cs +++ /dev/null @@ -1,38 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using Gestor.Infrastructure.Entities.Seguros; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class TarefaMap : ClassMap - { - public TarefaMap() - { - base.Table("Tarefa"); - base.LazyLoad(); - base.Id((TarefaDb x) => (object)x.Id).GeneratedBy.Identity(); - base.Map((TarefaDb x) => (object)x.IdCliente); - base.Map((TarefaDb x) => x.Cliente); - base.References((TarefaDb x) => x.Trilha).Column("IdTrilha"); - base.References((TarefaDb x) => x.Fase).Column("IdFase"); - base.References((TarefaDb x) => x.Usuario).Column("IdUsuario"); - base.References((TarefaDb x) => x.UsuarioCadastro).Column("IdUsuarioCadastro"); - base.References((TarefaDb x) => x.Categoria).Column("IdCategoria").Fetch.Join(); - base.References((TarefaDb x) => x.TipoDeTarefa).Column("IdTipoTarefa"); - base.Map((TarefaDb x) => (object)x.Entidade).CustomType(); - base.Map((TarefaDb x) => (object)x.IdEntidade); - base.Map((TarefaDb x) => x.Titulo); - base.Map((TarefaDb x) => x.Descricao).CustomType("StringClob").CustomSqlType("nvarchar(max)"); - base.Map((TarefaDb x) => x.DescricaoInterna).Column("descricaointerna").CustomType("StringClob").CustomSqlType("nvarchar(max)"); - base.Map((TarefaDb x) => x.Referencia); - base.Map((TarefaDb x) => (object)x.Agendamento); - base.Map((TarefaDb x) => (object)x.Conclusao); - base.Map((TarefaDb x) => (object)x.Status).CustomType(); - base.Map((TarefaDb x) => (object)x.Restrito); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/TipoTarefaMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/TipoTarefaMap.cs deleted file mode 100644 index 19c52b0..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/TipoTarefaMap.cs +++ /dev/null @@ -1,23 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class TipoTarefaMap : ClassMap - { - public TipoTarefaMap() - { - base.Table("TipoTarefa"); - base.LazyLoad(); - base.Id((TipoDeTarefaDb x) => (object)x.Id).GeneratedBy.Identity(); - base.Map((TipoDeTarefaDb x) => x.Nome); - base.Map((TipoDeTarefaDb x) => x.Descricao).CustomType("StringClob").CustomSqlType("nvarchar(max)"); - base.Map((TipoDeTarefaDb x) => (object)x.Ativo); - base.Map((TipoDeTarefaDb x) => (object)x.Excluido); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/TrilhaMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/TrilhaMap.cs deleted file mode 100644 index 0a58cc8..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/TrilhaMap.cs +++ /dev/null @@ -1,24 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class TrilhaMap : ClassMap - { - public TrilhaMap() - { - base.Table("Trilha"); - base.LazyLoad(); - base.Id((TrilhaDb x) => (object)x.Id).GeneratedBy.Identity(); - base.Map((TrilhaDb x) => x.Titulo); - base.Map((TrilhaDb x) => x.Descricao); - base.Map((TrilhaDb x) => (object)x.Intervalo); - base.Map((TrilhaDb x) => (object)x.Ativo); - base.Map((TrilhaDb x) => (object)x.Tipo); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/VinculoRepasseMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/VinculoRepasseMap.cs deleted file mode 100644 index d259e7e..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/VinculoRepasseMap.cs +++ /dev/null @@ -1,24 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Entities.Generic; -using Gestor.Infrastructure.Entities.Seguros; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Ferramentas -{ - public class VinculoRepasseMap : ClassMap - { - public VinculoRepasseMap() - { - base.Table("VinculoRepasse"); - base.LazyLoad(); - base.Id((VinculoRepasseDb x) => (object)x.Id).GeneratedBy.Identity(); - base.Map((VinculoRepasseDb x) => (object)x.IdRepasse).Not.Nullable(); - base.References((VinculoRepasseDb x) => x.TipoVendedor).Not.Nullable().Fetch.Join(); - base.References((VinculoRepasseDb x) => x.RepasseVinculo).Not.Nullable().Fetch.Join(); - base.References((VinculoRepasseDb x) => x.TipoVendedorVinculo).Not.Nullable().Fetch.Join(); - } - } -} \ No newline at end of file -- cgit v1.2.3