/*******************************************************************************
* Copyright (c) 2012 Dmitry Tikhomirov.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* Dmitry Tikhomirov - initial API and implementation
******************************************************************************/
package org.opensheet.shared.model;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import com.extjs.gxt.ui.client.data.BeanModelTag;
@Entity
@Table(name= "`values`")
public class SystemVariable implements Serializable, BeanModelTag{
private static final long serialVersionUID = -5301119327429931880L;
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
private Integer id;
@Column(name="`type`")
private String type;
@Column(name="`key`")
private String key;
@Column(name="`value`")
private String value;
public SystemVariable(){
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}