Rev 296 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 296 | Rev 319 | ||
|---|---|---|---|
| Line 37... | Line 37... | ||
| 37 | private Long sequencial; |
37 | private Long sequencial; |
| 38 | private Categoria categoriaPai; |
38 | private Categoria categoriaPai; |
| 39 | private String descricao; |
39 | private String descricao; |
| 40 | private String tipo; |
40 | private String tipo; |
| 41 | private Set<Categoria> listaCategoriasFilhas; |
41 | private Set<Categoria> listaCategoriasFilhas; |
| 42 | private IndicadorDre indicadorDRE; |
- | |
| - | 42 | private IndicadorDRE indicadorDRE; |
|
| 43 | private Boolean ativo; |
43 | private Boolean ativo; |
| 44 | 44 | ||
| 45 | private Boolean consultarApenasFilhos; |
45 | private Boolean consultarApenasFilhos; |
| 46 | 46 | ||
| 47 | public Categoria() { |
47 | public Categoria() { |
| Line 102... | Line 102... | ||
| 102 | }
|
102 | }
|
| 103 | 103 | ||
| 104 | @ManyToOne |
104 | @ManyToOne |
| 105 | @ForeignKey(name = "fk_categoria_dre") |
105 | @ForeignKey(name = "fk_categoria_dre") |
| 106 | @JoinColumn(name="cod_dre", referencedColumnName="cod_dre", insertable=true, updatable=true, nullable=true) |
106 | @JoinColumn(name="cod_dre", referencedColumnName="cod_dre", insertable=true, updatable=true, nullable=true) |
| 107 | public IndicadorDre getIndicadorDRE() { |
- | |
| - | 107 | public IndicadorDRE getIndicadorDRE() { |
|
| 108 | return indicadorDRE; |
108 | return indicadorDRE; |
| 109 | }
|
109 | }
|
| 110 | public void setIndicadorDRE(IndicadorDre indicadorDRE) { |
- | |
| - | 110 | public void setIndicadorDRE(IndicadorDRE indicadorDRE) { |
|
| 111 | this.indicadorDRE = indicadorDRE; |
111 | this.indicadorDRE = indicadorDRE; |
| 112 | }
|
112 | }
|
| 113 | 113 | ||
| 114 | @Column(name="ind_ativo", nullable=false) |
114 | @Column(name="ind_ativo", nullable=false) |
| 115 | public Boolean getAtivo() { |
115 | public Boolean getAtivo() { |