package jp.agentec.sinaburocast.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="t_news") public class News extends AbstractEntity { private static final long serialVersionUID = 1L; @Id @GeneratedValue @Column(name = "news_id") public Integer newsId; public String news; }