Rev 468 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 468 | blopes | 1 | package br.com.ec.domain.dto; |
| 2 | |||
| 3 | import java.io.Serializable; |
||
| 4 | import java.util.Date; |
||
| 5 | |||
| 6 | public class CompraDTO implements Serializable { |
||
| 7 | |||
| 8 | private static final long serialVersionUID = 1L; |
||
| 9 | |||
| 10 | private Long sequencial; |
||
| 11 | private Date dataCompra; |
||
| 12 | private NotaFiscalDTO notaFiscalDTO; |
||
| 569 | blopes | 13 | private FornecedorDTO fornecedorDTO; |
| 468 | blopes | 14 | |
| 15 | /* |
||
| 16 | private Loja loja; |
||
| 17 | private Fornecedor fornecedor; |
||
| 18 | private Conta conta; |
||
| 19 | private Date dataEntrada; |
||
| 20 | private String observacao; |
||
| 21 | private Double valorTotal; |
||
| 22 | private Boolean indicadorVerificada; |
||
| 23 | private Boolean indicadorAtivo; |
||
| 24 | */ |
||
| 25 | |||
| 26 | public CompraDTO() {} |
||
| 27 | |||
| 28 | public CompraDTO(Long sequencial, Date dataCompra, NotaFiscalDTO notaFiscalDTO) { |
||
| 29 | super(); |
||
| 30 | this.sequencial = sequencial; |
||
| 31 | this.dataCompra = dataCompra; |
||
| 32 | this.notaFiscalDTO = notaFiscalDTO; |
||
| 33 | } |
||
| 34 | |||
| 35 | public Long getSequencial() { |
||
| 36 | return sequencial; |
||
| 37 | } |
||
| 38 | public void setSequencial(Long sequencial) { |
||
| 39 | this.sequencial = sequencial; |
||
| 40 | } |
||
| 41 | |||
| 42 | public Date getDataCompra() { |
||
| 43 | return dataCompra; |
||
| 44 | } |
||
| 45 | public void setDataCompra(Date dataCompra) { |
||
| 46 | this.dataCompra = dataCompra; |
||
| 47 | } |
||
| 48 | |||
| 49 | public NotaFiscalDTO getNotaFiscalDTO() { |
||
| 50 | return notaFiscalDTO; |
||
| 51 | } |
||
| 52 | public void setNotaFiscalDTO(NotaFiscalDTO notaFiscalDTO) { |
||
| 53 | this.notaFiscalDTO = notaFiscalDTO; |
||
| 54 | } |
||
| 569 | blopes | 55 | |
| 56 | public FornecedorDTO getFornecedorDTO() { |
||
| 57 | return fornecedorDTO; |
||
| 58 | } |
||
| 59 | public void setFornecedorDTO(FornecedorDTO fornecedorDTO) { |
||
| 60 | this.fornecedorDTO = fornecedorDTO; |
||
| 61 | } |
||
| 62 | |||
| 468 | blopes | 63 | } |