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   * ItemEstrutUploadIettup generated by hbm2java
20   */
21  @Entity
22  @Table(name = "TB_ITEM_ESTRUT_UPLOAD_IETTUP")
23  public class ItemEstrutUploadIettup implements java.io.Serializable {
24  
25    private static final long serialVersionUID = -5688672695202430543L;
26  
27    private Long codIettup;
28    private Date dataInclusaoIettup;
29    private String indAtivoIettup;
30    private String nomeOriginalIettup;
31    private Long tamanhoIettup;
32    private String descricaoIettup;
33    private String arquivoIettup;
34    private Boolean indExclusaoPosHistorico;
35    private ItemEstrUplCategIettuc itemEstrUplCategIettuc;
36    private UploadTipoArquivoUta uploadTipoArquivoUta;
37    private ItemEstruturaIett itemEstruturaIett;
38    private UsuarioUsu usuarioUsu;
39    private UsuarioUsu usuarioUsuManutencao;
40    private AcompRelatorioArel acompRelatorioArel;
41  
42    public ItemEstrutUploadIettup() {
43    }
44  
45    public ItemEstrutUploadIettup(Date dataInclusaoIettup, String indAtivoIettup, String nomeOriginalIettup, Long tamanhoIettup, String descricaoIettup, String arquivoIettup, Boolean indExclusaoPosHistorico, ItemEstrUplCategIettuc itemEstrUplCategIettuc, UploadTipoArquivoUta uploadTipoArquivoUta, ItemEstruturaIett itemEstruturaIett, UsuarioUsu usuarioUsu, UsuarioUsu usuarioUsuManutencao, AcompRelatorioArel acompRelatorioArel) {
46      this.dataInclusaoIettup = dataInclusaoIettup;
47      this.indAtivoIettup = indAtivoIettup;
48      this.nomeOriginalIettup = nomeOriginalIettup;
49      this.tamanhoIettup = tamanhoIettup;
50      this.descricaoIettup = descricaoIettup;
51      this.arquivoIettup = arquivoIettup;
52      this.indExclusaoPosHistorico = indExclusaoPosHistorico;
53      this.itemEstrUplCategIettuc = itemEstrUplCategIettuc;
54      this.uploadTipoArquivoUta = uploadTipoArquivoUta;
55      this.itemEstruturaIett = itemEstruturaIett;
56      this.usuarioUsu = usuarioUsu;
57      this.usuarioUsuManutencao = usuarioUsuManutencao;
58      this.acompRelatorioArel = acompRelatorioArel;
59    }
60  
61    @GenericGenerator(name = "generator", strategy = "increment")
62    @Id
63    @GeneratedValue(generator = "generator")
64    @Column(name = "COD_IETTUP", nullable = false)
65    public Long getCodIettup() {
66      return this.codIettup;
67    }
68  
69    public void setCodIettup(Long codIettup) {
70      this.codIettup = codIettup;
71    }
72  
73    @Temporal(TemporalType.TIMESTAMP)
74    @Column(name = "DATA_INCLUSAO_IETTUP", length = 7)
75    public Date getDataInclusaoIettup() {
76      return this.dataInclusaoIettup;
77    }
78  
79    public void setDataInclusaoIettup(Date dataInclusaoIettup) {
80      this.dataInclusaoIettup = dataInclusaoIettup;
81    }
82  
83    @Column(name = "IND_ATIVO_IETTUP", length = 1)
84    public String getIndAtivoIettup() {
85      return this.indAtivoIettup;
86    }
87  
88    public void setIndAtivoIettup(String indAtivoIettup) {
89      this.indAtivoIettup = indAtivoIettup;
90    }
91  
92    @Column(name = "NOME_ORIGINAL_IETTUP", length = 100)
93    public String getNomeOriginalIettup() {
94      return this.nomeOriginalIettup;
95    }
96  
97    public void setNomeOriginalIettup(String nomeOriginalIettup) {
98      this.nomeOriginalIettup = nomeOriginalIettup;
99    }
100 
101   @Column(name = "TAMANHO_IETTUP", length = 10)
102   public Long getTamanhoIettup() {
103     return this.tamanhoIettup;
104   }
105 
106   public void setTamanhoIettup(Long tamanhoIettup) {
107     this.tamanhoIettup = tamanhoIettup;
108   }
109 
110   @Column(name = "DESCRICAO_IETTUP", length = 2000)
111   public String getDescricaoIettup() {
112     return this.descricaoIettup;
113   }
114 
115   public void setDescricaoIettup(String descricaoIettup) {
116     this.descricaoIettup = descricaoIettup;
117   }
118 
119   @Column(name = "ARQUIVO_IETTUP", length = 100)
120   public String getArquivoIettup() {
121     return this.arquivoIettup;
122   }
123 
124   public void setArquivoIettup(String arquivoIettup) {
125     this.arquivoIettup = arquivoIettup;
126   }
127 
128   @Column(name = "IND_EXCLUSAO_POS_HISTORICO")
129   public Boolean getIndExclusaoPosHistorico() {
130     return this.indExclusaoPosHistorico;
131   }
132 
133   public void setIndExclusaoPosHistorico(Boolean indExclusaoPosHistorico) {
134     this.indExclusaoPosHistorico = indExclusaoPosHistorico;
135   }
136 
137   @ManyToOne(fetch = FetchType.LAZY)
138   @JoinColumn(name = "COD_IETTUC")
139   public ItemEstrUplCategIettuc getItemEstrUplCategIettuc() {
140     return this.itemEstrUplCategIettuc;
141   }
142 
143   public void setItemEstrUplCategIettuc(ItemEstrUplCategIettuc itemEstrUplCategIettuc) {
144     this.itemEstrUplCategIettuc = itemEstrUplCategIettuc;
145   }
146 
147   @ManyToOne(fetch = FetchType.LAZY)
148   @JoinColumn(name = "COD_UTA")
149   public UploadTipoArquivoUta getUploadTipoArquivoUta() {
150     return this.uploadTipoArquivoUta;
151   }
152 
153   public void setUploadTipoArquivoUta(UploadTipoArquivoUta uploadTipoArquivoUta) {
154     this.uploadTipoArquivoUta = uploadTipoArquivoUta;
155   }
156 
157   @ManyToOne(fetch = FetchType.LAZY)
158   @JoinColumn(name = "COD_IETT")
159   public ItemEstruturaIett getItemEstruturaIett() {
160     return this.itemEstruturaIett;
161   }
162 
163   public void setItemEstruturaIett(ItemEstruturaIett itemEstruturaIett) {
164     this.itemEstruturaIett = itemEstruturaIett;
165   }
166 
167   @ManyToOne(fetch = FetchType.LAZY)
168   @JoinColumn(name = "COD_USU")
169   public UsuarioUsu getUsuarioUsu() {
170     return this.usuarioUsu;
171   }
172 
173   public void setUsuarioUsu(UsuarioUsu usuarioUsu) {
174     this.usuarioUsu = usuarioUsu;
175   }
176 
177   @ManyToOne(fetch = FetchType.LAZY)
178   @JoinColumn(name = "COD_USU_MANUTENCAO")
179   public UsuarioUsu getUsuarioUsuManutencao() {
180     return this.usuarioUsuManutencao;
181   }
182 
183   public void setUsuarioUsuManutencao(UsuarioUsu usuarioUsuManutencao) {
184     this.usuarioUsuManutencao = usuarioUsuManutencao;
185   }
186 
187   @ManyToOne(fetch = FetchType.LAZY)
188   @JoinColumn(name = "COD_AREL")
189   public AcompRelatorioArel getAcompRelatorioArel() {
190     return this.acompRelatorioArel;
191   }
192 
193   public void setAcompRelatorioArel(AcompRelatorioArel acompRelatorioArel) {
194     this.acompRelatorioArel = acompRelatorioArel;
195   }
196 
197 }