Rev 106 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 106 | Rev 127 | ||
|---|---|---|---|
| Line 4... | Line 4... | ||
| 4 | 4 | ||
| 5 | public class EtiquetaDTO implements Comparable<EtiquetaDTO> { |
5 | public class EtiquetaDTO implements Comparable<EtiquetaDTO> { |
| 6 | 6 | ||
| 7 | private Produto produto; |
7 | private Produto produto; |
| 8 | private Integer quantidade; |
8 | private Integer quantidade; |
| 9 | private Long sequencialCompra; |
- | |
| - | 9 | private Long lote; |
|
| 10 | 10 | ||
| 11 | public EtiquetaDTO() {} |
11 | public EtiquetaDTO() {} |
| 12 | 12 | ||
| 13 | public Produto getProduto() { |
13 | public Produto getProduto() { |
| 14 | return produto; |
14 | return produto; |
| Line 24... | Line 24... | ||
| 24 | 24 | ||
| 25 | public void setQuantidade(Integer quantidade) { |
25 | public void setQuantidade(Integer quantidade) { |
| 26 | this.quantidade = quantidade; |
26 | this.quantidade = quantidade; |
| 27 | }
|
27 | }
|
| 28 | 28 | ||
| 29 | public Long getSequencialCompra() { |
- | |
| 30 | return sequencialCompra; |
- | |
| - | 29 | public Long getLote() { |
|
| - | 30 | return lote; |
|
| 31 | }
|
31 | }
|
| 32 | public void setSequencialCompra(Long sequencialCompra) { |
- | |
| 33 | this.sequencialCompra = sequencialCompra; |
- | |
| - | 32 | public void setLote(Long lote) { |
|
| - | 33 | this.lote = lote; |
|
| 34 | }
|
34 | }
|
| 35 | 35 | ||
| 36 | @Override |
36 | @Override |
| 37 | public int hashCode() { |
37 | public int hashCode() { |
| 38 | final int prime = 31; |
38 | final int prime = 31; |