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 EstruturaFuncaoEttfPK implements java.io.Serializable {
13
14 private Long codEtt;
15 private Long codFun;
16
17 public EstruturaFuncaoEttfPK() {
18 }
19
20 public EstruturaFuncaoEttfPK(Long codEtt, Long codFun) {
21 this.codEtt = codEtt;
22 this.codFun = codFun;
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_FUN", nullable = false, length = 10)
35 public Long getCodFun() {
36 return this.codFun;
37 }
38
39 public void setCodFun(Long codFun) {
40 this.codFun = codFun;
41 }
42
43 }