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 ServicoParametroSerParPK implements java.io.Serializable {
13
14 private Long codServicoSerPar;
15 private Long codParametroSerPar;
16
17 public ServicoParametroSerParPK() {
18 }
19
20 public ServicoParametroSerParPK(Long codServicoSerPar, Long codParametroSerPar) {
21 this.codServicoSerPar = codServicoSerPar;
22 this.codParametroSerPar = codParametroSerPar;
23 }
24
25 @Column(name = "COD_SERVICO_SER", nullable = false)
26 public Long getCodServicoSerPar() {
27 return this.codServicoSerPar;
28 }
29
30 public void setCodServicoSerPar(Long codServicoSerPar) {
31 this.codServicoSerPar = codServicoSerPar;
32 }
33
34 @Column(name = "COD_PARAMETRO_PAR", nullable = false)
35 public Long getCodParametroSerPar() {
36 return this.codParametroSerPar;
37 }
38
39 public void setCodParametroSerPar(Long codParametroSerPar) {
40 this.codParametroSerPar = codParametroSerPar;
41 }
42
43 }