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 EstruturaAtributoEttatPK implements java.io.Serializable {
13
14 private Long codEtt;
15 private Long codAtb;
16
17 public EstruturaAtributoEttatPK() {
18 }
19
20 public EstruturaAtributoEttatPK(Long codEtt, Long codAtb) {
21 this.codEtt = codEtt;
22 this.codAtb = codAtb;
23 }
24
25 @Column(name = "COD_ETT", nullable = false, length = 10)
26 public Long getCodEtt() {
27 return this.codEtt;
28 }
29
30 public void setCodEtt(Long codEtt) {
31 this.codEtt = codEtt;
32 }
33
34 @Column(name = "COD_ATB", nullable = false, length = 10)
35 public Long getCodAtb() {
36 return this.codAtb;
37 }
38
39 public void setCodAtb(Long codAtb) {
40 this.codAtb = codAtb;
41 }
42
43 }