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    * OrgaoPeriodoExercicioOrgPerExePK generated by hbm2java
10   */
11  @Embeddable
12  public class OrgaoPeriodoExercicioOrgPerExePK implements java.io.Serializable {
13  
14    private Long codOrg;
15    private Long codPerExe;
16  
17    public OrgaoPeriodoExercicioOrgPerExePK() {
18    }
19  
20    public OrgaoPeriodoExercicioOrgPerExePK(Long codOrg, Long codPerExe) {
21      this.codOrg = codOrg;
22      this.codPerExe = codPerExe;
23    }
24  
25    @Column(name = "cod_org", nullable = false, length = 10)
26    public Long getCodOrg() {
27      return this.codOrg;
28    }
29  
30    public void setCodOrg(Long codOrg) {
31      this.codOrg = codOrg;
32    }
33  
34    @Column(name = "cod_perexe", nullable = false, length = 10)
35    public Long getCodPerExe() {
36      return this.codPerExe;
37    }
38  
39    public void setCodPerExe(Long codPerExe) {
40      this.codPerExe = codPerExe;
41    }
42  
43  }