--- /dev/null
+/*\r
+ * To change this template, choose Tools | Templates\r
+ * and open the template in the editor.\r
+ */\r
+package org.ufcspa.simdecs.entidade;\r
+\r
+import java.io.Serializable;\r
+import javax.persistence.*;\r
+import javax.validation.constraints.NotNull;\r
+import javax.validation.constraints.Size;\r
+\r
+/**\r
+ *\r
+ * @author pbarros\r
+ */\r
+@Entity\r
+@Table(name="RespostaMediador")\r
+public class RespostaMediador implements Serializable {\r
+ private static final long serialVersionUID = 1L;\r
+ \r
+ @SequenceGenerator(name="seqRespMediador", sequenceName="SQRESOM")\r
+ @GeneratedValue(strategy=GenerationType.AUTO, generator="seqRespMediador")\r
+ @Id\r
+ private Long id;\r
+ \r
+ @Column(length=255)\r
+ private String resposta;\r
+ \r
+ \r
+ @Column(length=255)\r
+ private String endArquivo;\r
+ \r
+ \r
+ public Long getId() { return this.id; }\r
+ public void setId(Long id) { this.id = id; }\r
+ public String getNome() { return this.resposta; }\r
+ public void setNome(String name) { this.resposta = resposta; }\r
+ public String getEndArquivo() { return this.endArquivo; }\r
+ public void setEndArquivo(String endArquivo) { this.endArquivo = endArquivo; }\r
+ \r
+ \r
+ @Override\r
+ public int hashCode() {\r
+ int hash = 0;\r
+ hash += (id != null ? id.hashCode() : 0);\r
+ return hash;\r
+ }\r
+\r
+ @Override\r
+ public boolean equals(Object object) {\r
+ // TODO: Warning - this method won't work in the case the id fields are not set\r
+ if (!(object instanceof RespostaMediador)) {\r
+ return false;\r
+ }\r
+ RespostaMediador other = (RespostaMediador) object;\r
+ if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\r
+ return false;\r
+ }\r
+ return true;\r
+ }\r
+\r
+ @Override\r
+ public String toString() {\r
+ return "org.ufcspa.simdecs.entidade.RespostaMediador[ id=" + id + " ]";\r
+ }\r
+ \r
+}\r