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 DemAtributoDemaPK implements java.io.Serializable {
13
14 private Long codSatb;
15 private Long codRegd;
16
17 public DemAtributoDemaPK() {
18 }
19
20 public DemAtributoDemaPK(Long codSatb, Long codRegd) {
21 this.codSatb = codSatb;
22 this.codRegd = codRegd;
23 }
24
25 @Column(name = "COD_SATB", nullable = false, length = 10)
26 public Long getCodSatb() {
27 return this.codSatb;
28 }
29
30 public void setCodSatb(Long codSatb) {
31 this.codSatb = codSatb;
32 }
33
34 @Column(name = "COD_REGD", nullable = false, length = 10)
35 public Long getCodRegd() {
36 return this.codRegd;
37 }
38
39 public void setCodRegd(Long codRegd) {
40 this.codRegd = codRegd;
41 }
42
43 }