/* * AreaTematica.java * * Created on 29 de Junho de 2007, 08:08 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package s3e; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; /** * * @author Tuvax */ @Entity public class AreaTematica { /** Creates a new instance of AreaTematica */ public AreaTematica() { } @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String nome; // Valores possíveis: "Expotec" e "CicloMultidisciplinar" private String tipo; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getNome() { return nome; } public void setNome(String nome) { this.nome = nome; } public String getTipo() { return tipo; } public void setTipo(String tipo) { this.tipo = tipo; } }