![JAR search and dependency download from the Maven repository](/logo.png)
fi.foyt.fni.persistence.model.system.SystemSetting Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of persistence Show documentation
Show all versions of persistence Show documentation
Forge & Illusion - Persistence
package fi.foyt.fni.persistence.model.system;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class SystemSetting {
public Long getId() {
return id;
}
public SystemSettingKey getKey() {
return key;
}
public void setKey(SystemSettingKey key) {
this.key = key;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
@Id
@GeneratedValue (strategy=GenerationType.IDENTITY)
private Long id;
@Column(nullable = false, name = "settingKey")
@Enumerated (EnumType.STRING)
private SystemSettingKey key;
@Column(nullable = false)
private String value;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy