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 LocAtributoLocaPK implements java.io.Serializable {
13
14 private Long codSatb;
15 private Long codLit;
16
17 public LocAtributoLocaPK() {
18 }
19
20 public LocAtributoLocaPK(Long codSatb, Long codLit) {
21 this.codSatb = codSatb;
22 this.codLit = codLit;
23 }
24
25 @Column(name = "COD_SATB", nullable = false, length = 10)
26 public Long getCodSatb() {
27 return this.codSatb;
28 }
29
30 public void setCodSatb(Long codSatb) {
31 this.codSatb = codSatb;
32 }
33
34 @Column(name = "COD_LIT", nullable = false, length = 10)
35 public Long getCodLit() {
36 return this.codLit;
37 }
38
39 public void setCodLit(Long codLit) {
40 this.codLit = codLit;
41 }
42
43 }