Rev 112 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 112 | Rev 114 | ||
|---|---|---|---|
| Line 27... | Line 27... | ||
| 27 | 27 | ||
| 28 | private static final long serialVersionUID = 1L; |
28 | private static final long serialVersionUID = 1L; |
| 29 | 29 | ||
| 30 | private Long sequencial; |
30 | private Long sequencial; |
| 31 | private Categoria categoria; |
31 | private Categoria categoria; |
| - | 32 | private String tipoCategoria; |
|
| 32 | private Date dataOrcado; |
33 | private Date dataOrcado; |
| 33 | private Double valor; |
34 | private Double valor; |
| 34 | 35 | ||
| 35 | @Override |
36 | @Override |
| 36 | @Transient |
37 | @Transient |
| Line 59... | Line 60... | ||
| 59 | public Categoria getCategoria() { |
60 | public Categoria getCategoria() { |
| 60 | return categoria; |
61 | return categoria; |
| 61 | }
|
62 | }
|
| 62 | public void setCategoria(Categoria categoria) { |
63 | public void setCategoria(Categoria categoria) { |
| 63 | this.categoria = categoria; |
64 | this.categoria = categoria; |
| - | 65 | }
|
|
| - | 66 | ||
| - | 67 | @Column(name="tip_categoria", nullable=false) |
|
| - | 68 | @NotNull(message = "Parâmetro obrigatório não preenchido: Tipo categoria", groups = {Cadastrar.class, Alterar.class}) |
|
| - | 69 | public String getTipoCategoria() { |
|
| - | 70 | return tipoCategoria; |
|
| - | 71 | }
|
|
| - | 72 | public void setTipoCategoria(String tipoCategoria) { |
|
| - | 73 | this.tipoCategoria = tipoCategoria; |
|
| 64 | }
|
74 | }
|
| 65 | 75 | ||
| 66 | @Column(name="dat_orcado", nullable=false) |
76 | @Column(name="dat_orcado", nullable=false) |
| 67 | public Date getDataOrcado() { |
77 | public Date getDataOrcado() { |
| 68 | return dataOrcado; |
78 | return dataOrcado; |