View Javadoc

1   package ecar.pojo;
2   
3   // Generated Aug 13, 2009 2:24:15 PM by Hibernate Tools 3.2.0.CR1
4   
5   import javax.persistence.Column;
6   import javax.persistence.Entity;
7   import javax.persistence.Id;
8   import javax.persistence.Table;
9   
10  /**
11   * DemandasGrpAcesso generated by hbm2java
12   */
13  @Entity
14  @Table(name = "tb_demandas_grp_acesso")
15  public class DemandasGrpAcesso implements java.io.Serializable {
16  
17    private Long codSatb;
18    private String acessoDemanda;
19  
20    public DemandasGrpAcesso() {
21    }
22  
23    public DemandasGrpAcesso(Long codSatb) {
24      this.codSatb = codSatb;
25    }
26  
27    public DemandasGrpAcesso(Long codSatb, String acessoDemanda) {
28      this.codSatb = codSatb;
29      this.acessoDemanda = acessoDemanda;
30    }
31  
32    @Id
33    @Column(name = "cod_satb", nullable = false)
34    public Long getCodSatb() {
35      return this.codSatb;
36    }
37  
38    public void setCodSatb(Long codSatb) {
39      this.codSatb = codSatb;
40    }
41  
42    @Column(name = "acesso_demanda")
43    public String getAcessoDemanda() {
44      return this.acessoDemanda;
45    }
46  
47    public void setAcessoDemanda(String acessoDemanda) {
48      this.acessoDemanda = acessoDemanda;
49    }
50  
51  }