Rev 296 | Rev 319 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 296 | Rev 297 | ||
|---|---|---|---|
| Line 2... | Line 2... | ||
| 2 | 2 | ||
| 3 | import java.util.Date; |
3 | import java.util.Date; |
| - | 4 | ||
| - | 5 | import br.com.ec.domain.model.Conta; |
|
| 4 | 6 | ||
| 5 | public class ParcelaDTO { |
7 | public class ParcelaDTO { |
| 6 | 8 | ||
| 7 | private Long sequencial; |
9 | private Long sequencial; |
| - | 10 | // private ContaDTO contaDTO;
|
|
| - | 11 | private CategoriaDTO categoriaDTO; |
|
| 8 | private ContaBancariaDTO contaBancariaDTO; |
12 | private ContaBancariaDTO contaBancariaDTO; |
| 9 | private FormaPagamentoDTO formaPagamentoDTO; |
13 | private FormaPagamentoDTO formaPagamentoDTO; |
| 10 | private Date dataPagamento; |
14 | private Date dataPagamento; |
| 11 | private Double valor; |
15 | private Double valor; |
| 12 | private String observacao; |
16 | private String observacao; |
| Line 21... | Line 25... | ||
| 21 | private Boolean indicadorAtivo;
|
25 | private Boolean indicadorAtivo;
|
| 22 | */
|
26 | */
|
| 23 | 27 | ||
| 24 | public ParcelaDTO() {} |
28 | public ParcelaDTO() {} |
| 25 | 29 | ||
| 26 | public ParcelaDTO(Long sequencial, Long sequencialContaBancaria, String descricaoContaBancaria, |
- | |
| - | 30 | public ParcelaDTO(Long sequencial, Long sequencialCategoria, String descricaoCategoria, String tipoCategoria, |
|
| - | 31 | Long sequencialContaBancaria, String descricaoContaBancaria, |
|
| 27 | String tipoContaBancaria, Boolean ativoContaBancaria, Date dataPagamento, Double valor, |
32 | String tipoContaBancaria, Boolean ativoContaBancaria, Date dataPagamento, Double valor, |
| 28 | String observacao) { |
33 | String observacao) { |
| 29 | super(); |
34 | super(); |
| 30 | this.sequencial = sequencial; |
35 | this.sequencial = sequencial; |
| - | 36 | this.categoriaDTO = new CategoriaDTO(sequencialCategoria, descricaoCategoria, tipoCategoria); |
|
| - | 37 | // this.contaDTO = new ContaDTO(sequencialConta, sequencialCategoria, descricaoCategoria, tipoCategoria);
|
|
| 31 | this.contaBancariaDTO = new ContaBancariaDTO(sequencialContaBancaria, descricaoContaBancaria, tipoContaBancaria, ativoContaBancaria); |
38 | this.contaBancariaDTO = new ContaBancariaDTO(sequencialContaBancaria, descricaoContaBancaria, tipoContaBancaria, ativoContaBancaria); |
| 32 | this.dataPagamento = dataPagamento; |
39 | this.dataPagamento = dataPagamento; |
| 33 | this.valor = valor; |
40 | this.valor = valor; |
| 34 | this.observacao = observacao; |
41 | this.observacao = observacao; |
| 35 | }
|
42 | }
|
| Line 37... | Line 44... | ||
| 37 | public Long getSequencial() { |
44 | public Long getSequencial() { |
| 38 | return sequencial; |
45 | return sequencial; |
| 39 | }
|
46 | }
|
| 40 | public void setSequencial(Long sequencial) { |
47 | public void setSequencial(Long sequencial) { |
| 41 | this.sequencial = sequencial; |
48 | this.sequencial = sequencial; |
| - | 49 | }
|
|
| - | 50 | ||
| - | 51 | public CategoriaDTO getCategoriaDTO() { |
|
| - | 52 | return categoriaDTO; |
|
| - | 53 | }
|
|
| - | 54 | public void setCategoriaDTO(CategoriaDTO categoriaDTO) { |
|
| - | 55 | this.categoriaDTO = categoriaDTO; |
|
| 42 | }
|
56 | }
|
| 43 | 57 | ||
| 44 | public ContaBancariaDTO getContaBancariaDTO() { |
58 | public ContaBancariaDTO getContaBancariaDTO() { |
| 45 | return contaBancariaDTO; |
59 | return contaBancariaDTO; |
| 46 | }
|
60 | }
|