Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package cz.sedlackovi.test.entity;
- import java.io.Serializable;
- import javax.persistence.Entity;
- import javax.persistence.GeneratedValue;
- import javax.persistence.GenerationType;
- import javax.persistence.Id;
- /**
- * Entity implementation class for Entity: Message
- *
- */
- @Entity
- public class Zprava implements Serializable {
- private String text;
- @Id
- @GeneratedValue(strategy = GenerationType.AUTO)
- private Long id;
- private static final long serialVersionUID = 1L;
- public Zprava() {
- super();
- }
- public String getText() {
- return this.text;
- }
- public void setText(String text) {
- this.text = text;
- }
- public Long getId() {
- return this.id;
- }
- public void setId(Long id) {
- this.id = id;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment