1
0
mirror of https://github.com/pcvolkmer/onkostar-plugin-dnpm.git synced 2025-07-04 18:12:55 +00:00
Files
onkostar-plugin-dnpm/src/main/java/de/itc/db/dnpm/Setting.java

44 lines
745 B
Java

package de.itc.db.dnpm;
import org.hibernate.annotations.Immutable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Immutable
@Table(name = "einstellung")
public class Setting {
@Id
private Long id;
private String name;
@Column(name = "wert")
private String value;
protected Setting() {
// No content
}
public Setting(Long id, String name, String value) {
this.id = id;
this.name = name;
this.value = value;
}
public Long getId() {
return id;
}
public String getName() {
return name;
}
public String getValue() {
return value;
}
}