blob: fcaf99ba6aa179b7194f6fad50520a6b83257267 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License") + you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.openmeetings.persistence.beans.basic;
import java.io.Serializable;
import java.util.Date;
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 javax.persistence.Transient;
import org.apache.openmeetings.persistence.beans.lang.Fieldlanguagesvalues;
@Entity
@Table(name = "navimain")
public class Navimain implements Serializable {
private static final long serialVersionUID = 1691787896183701877L;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name="id")
private Long main_id;
@Column(name="global_id")
private Long global_id;
@Column(name="name")
private String name;
@Column(name="icon")
private String icon;
@Column(name="isleaf")
private Boolean isleaf;
@Column(name="isopen")
private Boolean isopen;
@Column(name="action")
private String action;
@Column(name="params")
private String params;
@Column(name="updatetime")
private Date updatetime;
@Column(name="starttime")
private Date starttime;
@Column(name="comment_field")
private String comment;
@Column(name="naviorder")
private Integer naviorder;
@Column(name="level_id")
private Long level_id;
@Column(name="fieldvalues_id")
private Long fieldvalues_id;
@Column(name="deleted")
private boolean deleted;
@Transient
private Fieldlanguagesvalues label;
@Transient
private Fieldlanguagesvalues tooltip;
@Column(name="tooltip_fieldvalues_id")
private Long tooltip_fieldvalues_id;
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public Long getLevel_id() {
return level_id;
}
public void setLevel_id(Long level_id) {
this.level_id = level_id;
}
public Long getGlobal_id() {
return global_id;
}
public void setGlobal_id(Long global_id) {
this.global_id = global_id;
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
public Long getMain_id() {
return main_id;
}
public void setMain_id(Long main_id) {
this.main_id = main_id;
}
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
public Boolean getIsleaf() {
return isleaf;
}
public void setIsleaf(Boolean isleaf) {
this.isleaf = isleaf;
}
public Boolean getIsopen() {
return isopen;
}
public void setIsopen(Boolean isopen) {
this.isopen = isopen;
}
public Date getStarttime() {
return starttime;
}
public void setStarttime(Date starttime) {
this.starttime = starttime;
}
public Date getUpdatetime() {
return updatetime;
}
public void setUpdatetime(Date updatetime) {
this.updatetime = updatetime;
}
public boolean getDeleted() {
return deleted;
}
public void setDeleted(boolean deleted) {
this.deleted = deleted;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getNaviorder() {
return naviorder;
}
public void setNaviorder(Integer naviorder) {
this.naviorder = naviorder;
}
public Long getFieldvalues_id() {
return fieldvalues_id;
}
public void setFieldvalues_id(Long fieldvalues_id) {
this.fieldvalues_id = fieldvalues_id;
}
public Fieldlanguagesvalues getLabel() {
return label;
}
public void setLabel(Fieldlanguagesvalues label) {
this.label = label;
}
public Long getTooltip_fieldvalues_id() {
return tooltip_fieldvalues_id;
}
public void setTooltip_fieldvalues_id(Long tooltip_fieldvalues_id) {
this.tooltip_fieldvalues_id = tooltip_fieldvalues_id;
}
public Fieldlanguagesvalues getTooltip() {
return tooltip;
}
public void setTooltip(Fieldlanguagesvalues tooltip) {
this.tooltip = tooltip;
}
public String getParams() {
return params;
}
public void setParams(String params) {
this.params = params;
}
}