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 ItemEstrutEntidadeIettePK implements java.io.Serializable {
13
14 private Long codIett;
15 private Long codEnt;
16 private Long codTpp;
17
18 public ItemEstrutEntidadeIettePK() {
19 }
20
21 public ItemEstrutEntidadeIettePK(Long codIett, Long codEnt, Long codTpp) {
22 this.codIett = codIett;
23 this.codEnt = codEnt;
24 this.codTpp = codTpp;
25 }
26
27 @Column(name = "COD_IETT", nullable = false, length = 10)
28 public Long getCodIett() {
29 return this.codIett;
30 }
31
32 public void setCodIett(Long codIett) {
33 this.codIett = codIett;
34 }
35
36 @Column(name = "COD_ENT", nullable = false, length = 10)
37 public Long getCodEnt() {
38 return this.codEnt;
39 }
40
41 public void setCodEnt(Long codEnt) {
42 this.codEnt = codEnt;
43 }
44
45 @Column(name = "COD_TPP", nullable = false, length = 10)
46 public Long getCodTpp() {
47 return this.codTpp;
48 }
49
50 public void setCodTpp(Long codTpp) {
51 this.codTpp = codTpp;
52 }
53
54 }