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 java.util.Date;
6   import javax.persistence.Column;
7   import javax.persistence.Entity;
8   import javax.persistence.FetchType;
9   import javax.persistence.GeneratedValue;
10  import javax.persistence.Id;
11  import javax.persistence.JoinColumn;
12  import javax.persistence.ManyToOne;
13  import javax.persistence.Table;
14  import javax.persistence.Temporal;
15  import javax.persistence.TemporalType;
16  import org.hibernate.annotations.GenericGenerator;
17  
18  /**
19   * ItemEstrtIndResulLocalIettirl generated by hbm2java
20   */
21  @Entity
22  @Table(name = "TB_ITEM_ESTRT_IND_RESUL_LOCAL_IETTIRL")
23  public class ItemEstrtIndResulLocalIettirl implements java.io.Serializable {
24  
25    private Long codIettirl;
26    private Double qtdPrevistaIettirl;
27    private String indAtivoIettirl;
28    private Date dataInclusaoIettirl;
29    private ItemEstrtIndResulIettr itemEsrtIndResulIettr;
30    private LocalItemLit localItemLit;
31    private ExercicioExe exercicioExe;
32  
33    public ItemEstrtIndResulLocalIettirl() {
34    }
35  
36    public ItemEstrtIndResulLocalIettirl(Double qtdPrevistaIettirl, String indAtivoIettirl, Date dataInclusaoIettirl, ItemEstrtIndResulIettr itemEsrtIndResulIettr, LocalItemLit localItemLit, ExercicioExe exercicioExe) {
37      this.qtdPrevistaIettirl = qtdPrevistaIettirl;
38      this.indAtivoIettirl = indAtivoIettirl;
39      this.dataInclusaoIettirl = dataInclusaoIettirl;
40      this.itemEsrtIndResulIettr = itemEsrtIndResulIettr;
41      this.localItemLit = localItemLit;
42      this.exercicioExe = exercicioExe;
43    }
44  
45    @GenericGenerator(name = "generator", strategy = "increment")
46    @Id
47    @GeneratedValue(generator = "generator")
48    @Column(name = "COD_IETTIRL", nullable = false)
49    public Long getCodIettirl() {
50      return this.codIettirl;
51    }
52  
53    public void setCodIettirl(Long codIettirl) {
54      this.codIettirl = codIettirl;
55    }
56  
57    @Column(name = "QTD_PREVISTA_IETTIRL", length = 14)
58    public Double getQtdPrevistaIettirl() {
59      return this.qtdPrevistaIettirl;
60    }
61  
62    public void setQtdPrevistaIettirl(Double qtdPrevistaIettirl) {
63      this.qtdPrevistaIettirl = qtdPrevistaIettirl;
64    }
65  
66    @Column(name = "IND_ATIVO_IETTIRL", length = 1)
67    public String getIndAtivoIettirl() {
68      return this.indAtivoIettirl;
69    }
70  
71    public void setIndAtivoIettirl(String indAtivoIettirl) {
72      this.indAtivoIettirl = indAtivoIettirl;
73    }
74  
75    @Temporal(TemporalType.TIMESTAMP)
76    @Column(name = "DATA_INCLUSAO_IETTIRL", length = 7)
77    public Date getDataInclusaoIettirl() {
78      return this.dataInclusaoIettirl;
79    }
80  
81    public void setDataInclusaoIettirl(Date dataInclusaoIettirl) {
82      this.dataInclusaoIettirl = dataInclusaoIettirl;
83    }
84  
85    @ManyToOne(fetch = FetchType.LAZY)
86    @JoinColumn(name = "COD_IETTIR")
87    public ItemEstrtIndResulIettr getItemEsrtIndResulIettr() {
88      return this.itemEsrtIndResulIettr;
89    }
90  
91    public void setItemEsrtIndResulIettr(ItemEstrtIndResulIettr itemEsrtIndResulIettr) {
92      this.itemEsrtIndResulIettr = itemEsrtIndResulIettr;
93    }
94  
95    @ManyToOne(fetch = FetchType.LAZY)
96    @JoinColumn(name = "COD_LIT")
97    public LocalItemLit getLocalItemLit() {
98      return this.localItemLit;
99    }
100 
101   public void setLocalItemLit(LocalItemLit localItemLit) {
102     this.localItemLit = localItemLit;
103   }
104 
105   @ManyToOne(fetch = FetchType.LAZY)
106   @JoinColumn(name = "COD_EXE")
107   public ExercicioExe getExercicioExe() {
108     return this.exercicioExe;
109   }
110 
111   public void setExercicioExe(ExercicioExe exercicioExe) {
112     this.exercicioExe = exercicioExe;
113   }
114 
115 }