Enviado em 27/06/2018 - 19:57h
Olá a todos. Estou com um problema grande e gostaria de uma grande ajuda.{
"nome" : "fulano",
"numeroDeTelefone" : " 222222"
}
{
"nome" : "fulano"
"listaDeTelefones" :
[
{"numeroDeTelefone" : "2222"},
{"numeroDeTelefone" : "3333}
]
}
@Entity
public class Cliente
private String nome;
@ManytoMany
private List<Telefone> telefones = new ArrayList<>();
public Cliente() {}
getters e setters
@Entity
public class Telefone
private String numero;
@JsonIgnore
@ManytoMany
private List<Cliente> clientes = new ArrayList<>();
public Telefone () {}
getters e setters
public class ClienteDTO
private String nome;
private String numero;
public ClienteDTO () {}
getters e setters
public Cliente converteDoDTO(ClienteDTO clienteDTO) {
Cliente c = new Cliente(clienteDTO.getNome());
Telefone t = new Telefone(clienteDTO.getNumero());
c.getTelefones().addALL(Arrays.asList(t));
t.getClientes().addALL(Arrays.asList(c));
}
Comparação entre os escalonadores BFQ e MQ-Deadline (acesso a disco) no Arch e Debian
Conciliando o uso da ZRAM e SWAP em disco na sua máquina
Servidor de Backup com Ubuntu Server 24.04 LTS, RAID e Duplicati (Dell PowerEdge T420)
Visualizar câmeras IP ONVIF no Linux sem necessidade de instalar aplicativos
Overclocking Permanente para Drastic no Miyoo Mini Plus
Problemas de chaves (/usr/share/keyrings) no Debian
Converter os repositórios Debian para o novo formato com as chaves
como colocar uma prefix no faugus laucher ou wine (9)
aonde eu encontro prefix do mu online ou mu dark epoch, wine, port-pro... (1)
aonde eu encontro prefix do mu online ou mu dark epoch, wine, port-pro... (1)
aonde eu encontro prefix do mu online ou mu dark epoch, wine, port-pro... (1)