blob: f0baed3e5fe75778d7250f33063dab5c8f7f82aa [file] [log] [blame]
/**
******************************************************************************
* Copyright © 2017-2018 PTA GmbH.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
*
* http://www.eclipse.org/legal/epl-v10.html
*
******************************************************************************
*/
package org.eclipse.openk.elogbook.persistence.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import java.io.Serializable;
/**
* The persistent class for the ref_notification_status database table.
*
*/
@Entity
@Table(name="REF_NOTIFICATION_PRIORITY")
@NamedQuery(name="RefNotificationPriority.findAll", query="SELECT r FROM RefNotificationPriority r")
public class RefNotificationPriority implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id")
private Integer id;
@Column(name = "name")
private String name;
@Column(name = "weighting")
private Integer weighting;
@Column(name = "image_name")
private String imageName;
public RefNotificationPriority() {
// default constructor
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Integer getWeighting() {
return weighting;
}
public void setWeighting(Integer weighting) {
this.weighting = weighting;
}
public String getImageName() {
return imageName;
}
public void setImageName(String imageName) {
this.imageName = imageName;
}
}