예제 #1
0
        public VoluntarioModel ParaModel()
        {
            VoluntarioModel ent = new VoluntarioModel();

            ent.Nome     = Nome;
            ent.Uf       = Uf;
            ent.Cidade   = Cidade;
            ent.Endereco = Endereco;
            ent.Email    = Email;
            ent.Telefone = Telefone;
            ent.Login    = Login;
            ent.DefinirSenha(Senha);
            ent.ArquivoId      = ArquivoId;
            ent.Cpf            = Cpf;
            ent.Descricao      = Descricao;
            ent.DataNascimento = DataNascimento;
            ent.Projetos       = new List <ProjetoModel>();

            return(ent);
        }