--- /dev/null
+package org.ufcspa.simdecs.entities;
+
+import javax.persistence.Basic;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.GeneratedValue;
+import javax.persistence.Id;
+import javax.persistence.Lob;
+
+@Entity
+public class ArquivoRede implements java.io.Serializable {
+
+ @Id
+ @GeneratedValue
+ private Long id;
+ public Long getId() { return this.id; }
+ public void setId(Long id) { this.id = id; }
+
+ private String nome;
+ public String getNome() { return this.nome; }
+ public void setNome(String name) { this.nome = name; }
+
+ private long tamanho;
+ public long getTamanho() { return this.tamanho; }
+ public void setTamanho(long size) { this.tamanho = size; }
+
+ private String contentType;
+ public String getContentType() { return this.contentType; }
+ public void setContentType(String contentType) { this.contentType = contentType; }
+
+ @Lob
+ @Column(length = 2147483647)
+ @Basic(fetch = FetchType.LAZY)
+ private byte[] data;
+ public byte[] getData() { return this.data; }
+ public void setData(byte[] data) { this.data = data; }
+
+}
\ No newline at end of file