blob: 9b4c407e1d1787bd100b7a6a274d06e4133844ee [file] [log] [blame]
package org.eclipse.openk.elogbook.persistence.model;
import javax.persistence.*;
import java.io.Serializable;
/**
* The persistent class for the ref_branch database table.
*
*/
@Entity
@Table(name="\"REF_BRANCH\"")
@NamedQuery(name="RefBranch.findAll", query="SELECT r FROM RefBranch r")
public class RefBranch 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 = "\"description\"")
private String description;
public RefBranch() {
// default constructor
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}