View Javadoc

1   package ecar.pojo;
2   
3   // Generated Aug 13, 2009 2:24:15 PM by Hibernate Tools 3.2.0.CR1
4   
5   import javax.persistence.Column;
6   import javax.persistence.Embeddable;
7   
8   /**
9    * CorTipoFuncAcompCtfaPK generated by hbm2java
10   */
11  @Embeddable
12  public class CorTipoFuncAcompCtfaPK implements java.io.Serializable {
13  
14    private Long codCor;
15    private Long codTpfa;
16    private String posicaoCtfa;
17  
18    public CorTipoFuncAcompCtfaPK() {
19    }
20  
21    public CorTipoFuncAcompCtfaPK(Long codCor, Long codTpfa, String posicaoCtfa) {
22      this.codCor = codCor;
23      this.codTpfa = codTpfa;
24      this.posicaoCtfa = posicaoCtfa;
25    }
26  
27    @Column(name = "COD_COR", nullable = false, length = 10)
28    public Long getCodCor() {
29      return this.codCor;
30    }
31  
32    public void setCodCor(Long codCor) {
33      this.codCor = codCor;
34    }
35  
36    @Column(name = "COD_TPFA", nullable = false, length = 10)
37    public Long getCodTpfa() {
38      return this.codTpfa;
39    }
40  
41    public void setCodTpfa(Long codTpfa) {
42      this.codTpfa = codTpfa;
43    }
44  
45    @Column(name = "POSICAO_CTFA", nullable = false, length = 1)
46    public String getPosicaoCtfa() {
47      return this.posicaoCtfa;
48    }
49  
50    public void setPosicaoCtfa(String posicaoCtfa) {
51      this.posicaoCtfa = posicaoCtfa;
52    }
53  
54  }