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 UsuarioAtributoUsuaPK implements java.io.Serializable {
13
14 private Long codUsu;
15 private Long codSatb;
16
17 public UsuarioAtributoUsuaPK() {
18 }
19
20 public UsuarioAtributoUsuaPK(Long codUsu, Long codSatb) {
21 this.codUsu = codUsu;
22 this.codSatb = codSatb;
23 }
24
25 @Column(name = "COD_USU", nullable = false, length = 10)
26 public Long getCodUsu() {
27 return this.codUsu;
28 }
29
30 public void setCodUsu(Long codUsu) {
31 this.codUsu = codUsu;
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 }