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 PontocriticoCorPtccorPK implements java.io.Serializable {
13
14 private Long codPtc;
15 private Long codCor;
16
17 public PontocriticoCorPtccorPK() {
18 }
19
20 public PontocriticoCorPtccorPK(Long codPtc, Long codCor) {
21 this.codPtc = codPtc;
22 this.codCor = codCor;
23 }
24
25 @Column(name = "COD_PTC", nullable = false, length = 10)
26 public Long getCodPtc() {
27 return this.codPtc;
28 }
29
30 public void setCodPtc(Long codPtc) {
31 this.codPtc = codPtc;
32 }
33
34 @Column(name = "COD_COR", nullable = false, length = 10)
35 public Long getCodCor() {
36 return this.codCor;
37 }
38
39 public void setCodCor(Long codCor) {
40 this.codCor = codCor;
41 }
42
43 }