Rev 325 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 325 | Rev 528 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | package br.com.ec.domain.dto; |
1 | package br.com.ec.domain.dto; |
| - | 2 | ||
| - | 3 | import java.io.File; |
|
| 2 | 4 | ||
| 3 | import br.com.ec.core.util.StringUtil; |
5 | import br.com.ec.core.util.StringUtil; |
| 4 | 6 | ||
| 5 | public class EstampaDTO { |
7 | public class EstampaDTO { |
| 6 | 8 | ||
| Line 9... | Line 11... | ||
| 9 | private String descricao; |
11 | private String descricao; |
| 10 | private String codigo; |
12 | private String codigo; |
| 11 | private String extensao; |
13 | private String extensao; |
| 12 | private Double valor; |
14 | private Double valor; |
| 13 | private Boolean ativo; |
15 | private Boolean ativo; |
| - | 16 | ||
| - | 17 | private File imagem; |
|
| 14 | 18 | ||
| 15 | public EstampaDTO() {} |
19 | public EstampaDTO() {} |
| 16 | 20 | ||
| 17 | public static String CONSULTA_DTO_COMPLETA = "e.sequencial, e.temaEstampa.sequencial, e.temaEstampa.descricao, e.temaEstampa.codigo, e.temaEstampa.ativo, " + |
21 | public static String CONSULTA_DTO_COMPLETA = "e.sequencial, e.temaEstampa.sequencial, e.temaEstampa.descricao, e.temaEstampa.codigo, e.temaEstampa.ativo, " + |
| 18 | "e.descricao, e.codigo, e.extensao, e.valor, e.ativo"; |
22 | "e.descricao, e.codigo, e.extensao, e.valor, e.ativo"; |
| Line 73... | Line 77... | ||
| 73 | public Boolean getAtivo() { |
77 | public Boolean getAtivo() { |
| 74 | return ativo; |
78 | return ativo; |
| 75 | }
|
79 | }
|
| 76 | public void setAtivo(Boolean ativo) { |
80 | public void setAtivo(Boolean ativo) { |
| 77 | this.ativo = ativo; |
81 | this.ativo = ativo; |
| - | 82 | }
|
|
| - | 83 | ||
| - | 84 | public File getImagem() { |
|
| - | 85 | return imagem; |
|
| - | 86 | }
|
|
| - | 87 | public void setImagem(File imagem) { |
|
| - | 88 | this.imagem = imagem; |
|
| 78 | }
|
89 | }
|
| 79 | 90 | ||
| 80 | }
|
91 | }
|