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 ItemEstLocalRevIettlrPK implements java.io.Serializable {
13
14 private Long codLit;
15 private Integer codIettrev;
16
17 public ItemEstLocalRevIettlrPK() {
18 }
19
20 public ItemEstLocalRevIettlrPK(Long codLit, Integer codIettrev) {
21 this.codLit = codLit;
22 this.codIettrev = codIettrev;
23 }
24
25 @Column(name = "cod_lit", nullable = false, length = 4)
26 public Long getCodLit() {
27 return this.codLit;
28 }
29
30 public void setCodLit(Long codLit) {
31 this.codLit = codLit;
32 }
33
34 @Column(name = "cod_iettrev", nullable = false, length = 4)
35 public Integer getCodIettrev() {
36 return this.codIettrev;
37 }
38
39 public void setCodIettrev(Integer codIettrev) {
40 this.codIettrev = codIettrev;
41 }
42
43 }