diff options
Diffstat (limited to 'Codemerx/Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos')
2 files changed, 521 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/ClientesAtivosInativos.cs b/Codemerx/Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/ClientesAtivosInativos.cs new file mode 100644 index 0000000..26cf93b --- /dev/null +++ b/Codemerx/Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/ClientesAtivosInativos.cs @@ -0,0 +1,477 @@ +using Gestor.Model.Attributes;
+using Gestor.Model.Domain.Seguros;
+using System;
+using System.ComponentModel;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Domain.Relatorios.ClientesAtivosInativos
+{
+ public class ClientesAtivosInativos
+ {
+ private string _nome;
+
+ private string _ramo;
+
+ private string _endereco;
+
+ private string _bairro;
+
+ private string _complemento;
+
+ private string _cidade;
+
+ private string _estado;
+
+ private string _email;
+
+ private string _vendedor;
+
+ [Description("ANIVERSÁRIO")]
+ public string Aniversario
+ {
+ get;
+ set;
+ }
+
+ [Description("ATIVO")]
+ public string Ativo
+ {
+ get;
+ set;
+ }
+
+ [Description("BAIRRO")]
+ public string Bairro
+ {
+ get
+ {
+ return this._bairro;
+ }
+ set
+ {
+ string upper;
+ if (value != null)
+ {
+ string str = value.Trim();
+ if (str != null)
+ {
+ upper = str.ToUpper();
+ }
+ else
+ {
+ upper = null;
+ }
+ }
+ else
+ {
+ upper = null;
+ }
+ this._bairro = upper;
+ }
+ }
+
+ [Description("CEP")]
+ public string Cep
+ {
+ get;
+ set;
+ }
+
+ [Description("CIDADE")]
+ public string Cidade
+ {
+ get
+ {
+ return this._cidade;
+ }
+ set
+ {
+ string upper;
+ if (value != null)
+ {
+ string str = value.Trim();
+ if (str != null)
+ {
+ upper = str.ToUpper();
+ }
+ else
+ {
+ upper = null;
+ }
+ }
+ else
+ {
+ upper = null;
+ }
+ this._cidade = upper;
+ }
+ }
+
+ [Description("CLIENTE DESDE")]
+ [Tipo("DATA?")]
+ public DateTime? ClienteDesde
+ {
+ get;
+ set;
+ }
+
+ [Description("COMPLEMENTO")]
+ public string Complemento
+ {
+ get
+ {
+ return this._complemento;
+ }
+ set
+ {
+ string upper;
+ if (value != null)
+ {
+ string str = value.Trim();
+ if (str != null)
+ {
+ upper = str.ToUpper();
+ }
+ else
+ {
+ upper = null;
+ }
+ }
+ else
+ {
+ upper = null;
+ }
+ this._complemento = upper;
+ }
+ }
+
+ [Description("CPF/CNPJ")]
+ public string Documento
+ {
+ get;
+ set;
+ }
+
+ [Description("E-MAIL")]
+ public string Email
+ {
+ get
+ {
+ return this._email;
+ }
+ set
+ {
+ string lower;
+ if (value != null)
+ {
+ string str = value.Trim();
+ if (str != null)
+ {
+ lower = str.ToLower();
+ }
+ else
+ {
+ lower = null;
+ }
+ }
+ else
+ {
+ lower = null;
+ }
+ this._email = lower;
+ }
+ }
+
+ [Description("FILIAL")]
+ public string Empresa
+ {
+ get;
+ set;
+ }
+
+ [Description("ENDEREÇO")]
+ public string Endereco
+ {
+ get
+ {
+ return this._endereco;
+ }
+ set
+ {
+ string upper;
+ if (value != null)
+ {
+ string str = value.Trim();
+ if (str != null)
+ {
+ upper = str.ToUpper();
+ }
+ else
+ {
+ upper = null;
+ }
+ }
+ else
+ {
+ upper = null;
+ }
+ this._endereco = upper;
+ }
+ }
+
+ [Tipo("INVALID")]
+ public Gestor.Model.Domain.Seguros.Cliente EntidadeCliente
+ {
+ get;
+ set;
+ }
+
+ [Description("ESTADO")]
+ public string Estado
+ {
+ get
+ {
+ return this._estado;
+ }
+ set
+ {
+ string upper;
+ if (value != null)
+ {
+ string str = value.Trim();
+ if (str != null)
+ {
+ upper = str.ToUpper();
+ }
+ else
+ {
+ upper = null;
+ }
+ }
+ else
+ {
+ upper = null;
+ }
+ this._estado = upper;
+ }
+ }
+
+ [Description("ESTADO CIVIL")]
+ public string EstadoCivil
+ {
+ get;
+ set;
+ }
+
+ [Description("ESTIPULANTES")]
+ public string Estipulantes
+ {
+ get;
+ set;
+ }
+
+ [Description("ID")]
+ [Tipo("INVALID")]
+ public long Id
+ {
+ get;
+ set;
+ }
+
+ [Description("ANOS DE IDADE")]
+ [Tipo("QUANTIDADE?")]
+ public int? Idade
+ {
+ get;
+ set;
+ }
+
+ [Tipo("INVALID")]
+ public long IdEmpresa
+ {
+ get;
+ set;
+ }
+
+ [Description("NASCIMENTO")]
+ [Tipo("DATA?")]
+ public DateTime? Nascimento
+ {
+ get;
+ set;
+ }
+
+ [Description("CLIENTE")]
+ public string Nome
+ {
+ get
+ {
+ return this._nome;
+ }
+ set
+ {
+ string upper;
+ if (value != null)
+ {
+ string str = value.Trim();
+ if (str != null)
+ {
+ upper = str.ToUpper();
+ }
+ else
+ {
+ upper = null;
+ }
+ }
+ else
+ {
+ upper = null;
+ }
+ this._nome = upper;
+ }
+ }
+
+ [Description("NÚMERO")]
+ public string Numero
+ {
+ get;
+ set;
+ }
+
+ [Description("PARENTESCO")]
+ public string Parentesco
+ {
+ get;
+ set;
+ }
+
+ [Description("PASTA CLIENTE")]
+ public string PastaCliente
+ {
+ get;
+ set;
+ }
+
+ [Description("PROFISSÃO")]
+ public string Profissao
+ {
+ get;
+ set;
+ }
+
+ [Description("RAMO")]
+ public string Ramo
+ {
+ get
+ {
+ return this._ramo;
+ }
+ set
+ {
+ string upper;
+ if (value != null)
+ {
+ string str = value.Trim();
+ if (str != null)
+ {
+ upper = str.ToUpper();
+ }
+ else
+ {
+ upper = null;
+ }
+ }
+ else
+ {
+ upper = null;
+ }
+ this._ramo = upper;
+ }
+ }
+
+ [Description("RECEBER E-MAIL")]
+ public string RecebeEmail
+ {
+ get;
+ set;
+ }
+
+ [Description("RENDA MENSAL")]
+ [Tipo("VALOR")]
+ public decimal RendaMensal
+ {
+ get;
+ set;
+ }
+
+ [Tipo("INVALID")]
+ public bool Selecionado
+ {
+ get;
+ set;
+ }
+
+ [Description("SEXO")]
+ public string Sexo
+ {
+ get;
+ set;
+ }
+
+ [Description("TELEFONE")]
+ public string Telefone
+ {
+ get;
+ set;
+ }
+
+ [Description("TIPO DE PESSOA")]
+ public string TipoPessoa
+ {
+ get;
+ set;
+ }
+
+ [Description("VENCIMENTO CNH")]
+ [Tipo("DATA?")]
+ public DateTime? VencimentoCnh
+ {
+ get;
+ set;
+ }
+
+ [Description("VENDEDOR")]
+ public string Vendedor
+ {
+ get
+ {
+ return this._vendedor;
+ }
+ set
+ {
+ string upper;
+ if (value != null)
+ {
+ string str = value.Trim();
+ if (str != null)
+ {
+ upper = str.ToUpper();
+ }
+ else
+ {
+ upper = null;
+ }
+ }
+ else
+ {
+ upper = null;
+ }
+ this._vendedor = upper;
+ }
+ }
+
+ public ClientesAtivosInativos()
+ {
+ }
+ }
+}
\ No newline at end of file diff --git a/Codemerx/Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/SinteticoClientesAtivosInativos.cs b/Codemerx/Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/SinteticoClientesAtivosInativos.cs new file mode 100644 index 0000000..78dabab --- /dev/null +++ b/Codemerx/Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/SinteticoClientesAtivosInativos.cs @@ -0,0 +1,44 @@ +using Gestor.Model.Attributes;
+using System;
+using System.ComponentModel;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Domain.Relatorios.ClientesAtivosInativos
+{
+ public class SinteticoClientesAtivosInativos
+ {
+ [Description("TOTAL DE CLIENTES ATIVOS")]
+ [Tipo("QUANTIDADE")]
+ public decimal Ativos
+ {
+ get;
+ set;
+ }
+
+ public string Descricao
+ {
+ get;
+ set;
+ }
+
+ [Description("TOTAL DE CLIENTES INATIVOS")]
+ [Tipo("QUANTIDADE")]
+ public decimal Inativos
+ {
+ get;
+ set;
+ }
+
+ [Description("TOTAL DE CLIENTES")]
+ [Tipo("QUANTIDADE")]
+ public decimal Total
+ {
+ get;
+ set;
+ }
+
+ public SinteticoClientesAtivosInativos()
+ {
+ }
+ }
+}
\ No newline at end of file |