Rev 586 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 586 | Rev 587 | ||
|---|---|---|---|
| Line 10... | Line 10... | ||
| 10 | private TipoProduto tipoProduto; |
10 | private TipoProduto tipoProduto; |
| 11 | private List<RankingProdutoDTO> alertasProdutosSemSubtipo; |
11 | private List<RankingProdutoDTO> alertasProdutosSemSubtipo; |
| 12 | private List<AlertasComprasGeralSubTipoDTO> alertasComprasGeralSubTipoDTO; |
12 | private List<AlertasComprasGeralSubTipoDTO> alertasComprasGeralSubTipoDTO; |
| 13 | private Integer quantidadeAlertasPossiveis; |
13 | private Integer quantidadeAlertasPossiveis; |
| 14 | private Integer quantidadeAlertasPossiveisComSubtipo; |
14 | private Integer quantidadeAlertasPossiveisComSubtipo; |
| - | 15 | private Integer quantidadeAlertasCriticos; |
|
| 15 | 16 | ||
| 16 | private Boolean verificado; |
17 | private Boolean verificado; |
| 17 | 18 | ||
| 18 | public AlertasComprasGeralDTO() { |
19 | public AlertasComprasGeralDTO() { |
| 19 | setAlertasProdutosSemSubtipo(new ArrayList<RankingProdutoDTO>()); |
20 | setAlertasProdutosSemSubtipo(new ArrayList<RankingProdutoDTO>()); |
| 20 | setAlertasComprasGeralSubTipoDTO(new ArrayList<AlertasComprasGeralSubTipoDTO>()); |
21 | setAlertasComprasGeralSubTipoDTO(new ArrayList<AlertasComprasGeralSubTipoDTO>()); |
| 21 | setQuantidadeAlertasPossiveis(0); |
22 | setQuantidadeAlertasPossiveis(0); |
| 22 | setQuantidadeAlertasPossiveisComSubtipo(0); |
23 | setQuantidadeAlertasPossiveisComSubtipo(0); |
| - | 24 | setQuantidadeAlertasCriticos(0); |
|
| 23 | setVerificado(false); |
25 | setVerificado(false); |
| 24 | }
|
26 | }
|
| 25 | 27 | ||
| 26 | public TipoProduto getTipoProduto() { |
28 | public TipoProduto getTipoProduto() { |
| 27 | return tipoProduto; |
29 | return tipoProduto; |
| Line 54... | Line 56... | ||
| 54 | public Integer getQuantidadeAlertasPossiveisComSubtipo() { |
56 | public Integer getQuantidadeAlertasPossiveisComSubtipo() { |
| 55 | return quantidadeAlertasPossiveisComSubtipo; |
57 | return quantidadeAlertasPossiveisComSubtipo; |
| 56 | }
|
58 | }
|
| 57 | public void setQuantidadeAlertasPossiveisComSubtipo(Integer quantidadeAlertasPossiveisComSubtipo) { |
59 | public void setQuantidadeAlertasPossiveisComSubtipo(Integer quantidadeAlertasPossiveisComSubtipo) { |
| 58 | this.quantidadeAlertasPossiveisComSubtipo = quantidadeAlertasPossiveisComSubtipo; |
60 | this.quantidadeAlertasPossiveisComSubtipo = quantidadeAlertasPossiveisComSubtipo; |
| - | 61 | }
|
|
| - | 62 | ||
| - | 63 | public Integer getQuantidadeAlertasCriticos() { |
|
| - | 64 | return quantidadeAlertasCriticos; |
|
| - | 65 | }
|
|
| - | 66 | public void setQuantidadeAlertasCriticos(Integer quantidadeAlertasCriticos) { |
|
| - | 67 | this.quantidadeAlertasCriticos = quantidadeAlertasCriticos; |
|
| - | 68 | }
|
|
| - | 69 | public void adicionarQuantidadeAlertasCriticos() { |
|
| - | 70 | quantidadeAlertasCriticos++;
|
|
| 59 | }
|
71 | }
|
| 60 | 72 | ||
| 61 | public Boolean getVerificado() { |
73 | public Boolean getVerificado() { |
| 62 | return verificado; |
74 | return verificado; |
| 63 | }
|
75 | }
|