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.Embeddable;
7   
8   /**
9    * AgendaEntidadesAgeentPK generated by hbm2java
10   */
11  @Embeddable
12  public class AgendaEntidadesAgeentPK implements java.io.Serializable {
13  
14    private Long codAge;
15    private Long codEnt;
16  
17    public AgendaEntidadesAgeentPK() {
18    }
19  
20    public AgendaEntidadesAgeentPK(Long codAge, Long codEnt) {
21      this.codAge = codAge;
22      this.codEnt = codEnt;
23    }
24  
25    @Column(name = "COD_AGE", nullable = false)
26    public Long getCodAge() {
27      return this.codAge;
28    }
29  
30    public void setCodAge(Long codAge) {
31      this.codAge = codAge;
32    }
33  
34    @Column(name = "COD_ENT", nullable = false)
35    public Long getCodEnt() {
36      return this.codEnt;
37    }
38  
39    public void setCodEnt(Long codEnt) {
40      this.codEnt = codEnt;
41    }
42  
43  }