Exemple #1
0
 public Clientes(bool isAtivo, string razaoSocial, string contato, string email, string cnpj, string ie, Enderecos endereco, string telComercial, string telCelular)
 {
     IsAtivo                  = isAtivo;
     RazaoSocial              = razaoSocial;
     Contato                  = contato;
     Email                    = email;
     Cnpj                     = cnpj;
     Ie                       = ie;
     Endereco                 = endereco;
     TelComercial             = telComercial;
     TelCelular               = telCelular;
     this.ListaVeiculos       = new List <Veiculos>();
     this.Locacao             = new List <ClienteLocacao>();
     this.ListaDeFuncionarios = new List <Funcionarios>();
 }
 public Funcionarios(bool isAtivo, string nome, string email, Enderecos endereco, string rg, string cpf, DateTime nascimento, string telResidencial, string telCelular, decimal salario, DateTime admissao, string ctps, string pis, string tituloEleitor, string observacoes, int cargoId)
 {
     IsAtivo        = isAtivo;
     Nome           = nome;
     Email          = email;
     Endereco       = endereco;
     Rg             = rg;
     Cpf            = cpf;
     Nascimento     = nascimento;
     TelResidencial = telResidencial;
     TelCelular     = telCelular;
     Salario        = salario;
     Admissao       = admissao;
     Ctps           = ctps;
     Pis            = pis;
     TituloEleitor  = tituloEleitor;
     Observacoes    = observacoes;
     CargoId        = cargoId;
     Cnh            = new Cnhs();
 }
Exemple #3
0
 public FuncionariosBuilder GetEndereco(Enderecos endereco)
 {
     this.Endereco = endereco;
     return(this);
 }
Exemple #4
0
 public ClientesPJBuilder GetEndereco(Enderecos endereco)
 {
     this.Endereco = endereco;
     return(this);
 }