mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-12-16 13:21:58 +09:00
Documentation
This commit is contained in:
@@ -11,6 +11,10 @@ import jakarta.persistence.GenerationType;
|
||||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.Lob;
|
||||
|
||||
/**
|
||||
* An action executed by any user from the web UI.
|
||||
*
|
||||
*/
|
||||
@Entity
|
||||
public class UserAction {
|
||||
@Id
|
||||
|
||||
@@ -3,11 +3,20 @@ package tech.ailef.dbadmin.internal.model;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.Id;
|
||||
|
||||
/**
|
||||
* A single variable in the settings.
|
||||
*/
|
||||
@Entity
|
||||
public class UserSetting {
|
||||
/**
|
||||
* The id of the variable (its name)
|
||||
*/
|
||||
@Id
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* The value of the variable
|
||||
*/
|
||||
private String settingValue;
|
||||
|
||||
public UserSetting() {
|
||||
|
||||
Reference in New Issue
Block a user