/**
* 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 Block {
@Id
@GeneratedValue
private Long id;
private String name;
private String content;
private String code;
private int blockOrder;
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 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 int getBlockOrder() {
return blockOrder;
}
public void setBlockOrder(int blockOrder) {
this.blockOrder = blockOrder;
}
@Override
public String toString() {
return "Block [" +
"id=" + this.id + "," +
"name=" + this.name + "," +
"content=" + this.content + "," +
"code=" + this.code + "," +
"blockOrder=" + this.blockOrder
+ "]";
}
}