1 package ecar.pojo;
2
3
4
5 import javax.persistence.Column;
6 import javax.persistence.Embeddable;
7
8
9
10
11 @Embeddable
12 public class SegmentoCategoriaTpAcesSgtPK implements java.io.Serializable {
13
14 private Long codSgtc;
15 private Long codSatb;
16
17 public SegmentoCategoriaTpAcesSgtPK() {
18 }
19
20 public SegmentoCategoriaTpAcesSgtPK(Long codSgtc, Long codSatb) {
21 this.codSgtc = codSgtc;
22 this.codSatb = codSatb;
23 }
24
25 @Column(name = "COD_SGTC", nullable = false, length = 10)
26 public Long getCodSgtc() {
27 return this.codSgtc;
28 }
29
30 public void setCodSgtc(Long codSgtc) {
31 this.codSgtc = codSgtc;
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 }