Search in sources :

Example 6 with EnderecoDTO

use of com.tomasio.projects.trainning.dto.EnderecoDTO in project trainning by fernandotomasio.

the class Endereco method createDTOMinimal.

public EnderecoDTO createDTOMinimal() {
    EnderecoDTO dto = new EnderecoDTO();
    dto.setBairro(bairro);
    dto.setCep(cep);
    dto.setComplemento(complemento);
    dto.setLogradouro(logradouro);
    dto.setNumero(numero);
    dto.setReferencia(referencia);
    return dto;
}
Also used : EnderecoDTO(com.tomasio.projects.trainning.dto.EnderecoDTO)

Aggregations

EnderecoDTO (com.tomasio.projects.trainning.dto.EnderecoDTO)6 OrganizacaoDTO (com.tomasio.projects.trainning.dto.OrganizacaoDTO)4 ComandoDTO (com.tomasio.projects.trainning.dto.ComandoDTO)3 UnidadeDTO (com.tomasio.projects.trainning.dto.UnidadeDTO)3 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)3 CidadeDTO (com.tomasio.projects.trainning.dto.CidadeDTO)2 ExternoDTO (com.tomasio.projects.trainning.dto.ExternoDTO)2 PessoaDTO (com.tomasio.projects.trainning.dto.PessoaDTO)2 EmailDTO (com.tomasio.projects.trainning.dto.EmailDTO)1 FaseDTO (com.tomasio.projects.trainning.dto.FaseDTO)1 IndicacaoDTO (com.tomasio.projects.trainning.dto.IndicacaoDTO)1 IndicacaoInstrutorDTO (com.tomasio.projects.trainning.dto.IndicacaoInstrutorDTO)1 OrganizacaoFABDTO (com.tomasio.projects.trainning.dto.OrganizacaoFABDTO)1 TelefoneDTO (com.tomasio.projects.trainning.dto.TelefoneDTO)1 TurmaEfetivaDTO (com.tomasio.projects.trainning.dto.TurmaEfetivaDTO)1 CoreException (com.tomasio.projects.trainning.exeption.CoreException)1 OrganizacaoForm (com.tomasio.projects.trainning.form.OrganizacaoForm)1 AtividadesEnsinoService (com.tomasio.projects.trainning.interfaces.AtividadesEnsinoService)1 OrganizationalService (com.tomasio.projects.trainning.interfaces.OrganizationalService)1 ArrayList (java.util.ArrayList)1