Rev 268 | Go to most recent revision | Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 259 | espaco | 1 | package br.com.ec.domain.dto; |
| 2 | |||
| 3 | public class VendedorDTO { |
||
| 4 | |||
| 5 | private Long sequencial; |
||
| 6 | private String nome; |
||
| 7 | private LojaDTO lojaDTO; |
||
| 8 | |||
| 9 | public VendedorDTO() {} |
||
| 10 | |||
| 11 | public VendedorDTO(Long sequencial, String nome, Long sequencialLoja, String descricaoLoja) { |
||
| 12 | this.sequencial = sequencial; |
||
| 13 | this.nome = nome; |
||
| 14 | this.lojaDTO = new LojaDTO(sequencialLoja, descricaoLoja); |
||
| 15 | } |
||
| 16 | |||
| 17 | public Long getSequencial() { |
||
| 18 | return sequencial; |
||
| 19 | } |
||
| 20 | public void setSequencial(Long sequencial) { |
||
| 21 | this.sequencial = sequencial; |
||
| 22 | } |
||
| 23 | |||
| 24 | public String getNome() { |
||
| 25 | return nome; |
||
| 26 | } |
||
| 27 | public void setNome(String nome) { |
||
| 28 | this.nome = nome; |
||
| 29 | } |
||
| 30 | |||
| 31 | public LojaDTO getLojaDTO() { |
||
| 32 | return lojaDTO; |
||
| 33 | } |
||
| 34 | public void setLojaDTO(LojaDTO lojaDTO) { |
||
| 35 | this.lojaDTO = lojaDTO; |
||
| 36 | } |
||
| 37 | |||
| 38 | } |