/** * Balero CMS Project: Proyecto 100% Mexicano de código libre. * Página Oficial: http://www.balerocms.com * * @author Anibal Gomez <anibalgomez@icloud.com> * @copyright Copyright (C) 2015 Neblina Software. Derechos reservados. * @license Licencia BSD; vea LICENSE.txt */ package com.neblina.balero.domain; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public class Page { @Id @GeneratedValue private Long id; private String name; private String title; private String content; private String code; private String permalink; private String author; private int hits; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } public String getPermalink() { return permalink; } public void setPermalink(String permalink) { this.permalink = permalink; } public String getAuthor() { return author; } public void setAuthor(String author) { this.author = author; } public int getHits() { return hits; } public void setHits(int hits) { this.hits = hits; } @Override public String toString() { return "Block [" + "id=" + this.id + "," + "name=" + this.name + "," + "title=" + this.title + "," + "content=" + this.content + "," + "permalink=" + this.permalink + ", " + "author=" + this.author + ", " + "hits=" + this.hits + "]"; } }