using System; using System.ComponentModel; using Gestor.Model.Attributes; using Gestor.Model.Domain.Seguros; 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; [Tipo("INVALID")] public Gestor.Model.Domain.Seguros.Cliente EntidadeCliente { get; set; } [Tipo("INVALID")] public bool Selecionado { get; set; } [Tipo("INVALID")] public long IdEmpresa { get; set; } [Description("FILIAL")] public string Empresa { get; set; } [Tipo("INVALID")] [Description("ID")] public long Id { get; set; } [Description("CLIENTE")] public string Nome { get { return _nome; } set { _nome = value?.Trim()?.ToUpper(); } } [Description("CPF/CNPJ")] public string Documento { get; set; } [Description("TIPO DE PESSOA")] public string TipoPessoa { get; set; } [Description("ESTADO CIVIL")] public string EstadoCivil { get; set; } [Description("RAMO")] public string Ramo { get { return _ramo; } set { _ramo = value?.Trim()?.ToUpper(); } } [Description("ANIVERSÁRIO")] public string Aniversario { get; set; } [Description("ATIVO")] public string Ativo { get; set; } [Description("PROFISSÃO")] public string Profissao { get; set; } [Description("CIDADE")] public string Cidade { get { return _cidade; } set { _cidade = value?.Trim()?.ToUpper(); } } [Description("ESTADO")] public string Estado { get { return _estado; } set { _estado = value?.Trim()?.ToUpper(); } } [Description("CEP")] public string Cep { get; set; } [Description("ENDEREÇO")] public string Endereco { get { return _endereco; } set { _endereco = value?.Trim()?.ToUpper(); } } [Description("NÚMERO")] public string Numero { get; set; } [Description("BAIRRO")] public string Bairro { get { return _bairro; } set { _bairro = value?.Trim()?.ToUpper(); } } [Description("COMPLEMENTO")] public string Complemento { get { return _complemento; } set { _complemento = value?.Trim()?.ToUpper(); } } [Description("TELEFONE")] public string Telefone { get; set; } [Description("E-MAIL")] public string Email { get { return _email; } set { _email = value?.Trim()?.ToLower(); } } [Tipo("DATA?")] [Description("NASCIMENTO")] public DateTime? Nascimento { get; set; } [Description("VENDEDOR")] public string Vendedor { get { return _vendedor; } set { _vendedor = value?.Trim()?.ToUpper(); } } [Tipo("DATA?")] [Description("VENCIMENTO CNH")] public DateTime? VencimentoCnh { get; set; } [Description("PARENTESCO")] public string Parentesco { get; set; } [Description("SEXO")] public string Sexo { get; set; } [Tipo("VALOR")] [Description("RENDA MENSAL")] public decimal RendaMensal { get; set; } [Tipo("QUANTIDADE?")] [Description("ANOS DE IDADE")] public int? Idade { get; set; } [Description("PASTA CLIENTE")] public string PastaCliente { get; set; } [Description("RECEBER E-MAIL")] public string RecebeEmail { get; set; } [Tipo("DATA?")] [Description("CLIENTE DESDE")] public DateTime? ClienteDesde { get; set; } [Description("ESTIPULANTES")] public string Estipulantes { get; set; } }