package jp.agentec.sinaburocast.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="m_message") public class Message extends AbstractEntity { private static final long serialVersionUID = 1L; @Id @Column(name = "message_id") public Integer messageId; @Column(name = "message_cd") public Integer messageCd; public String message; }