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