mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
KeyValueログモデル作成
This commit is contained in:
1 file changed
+31
@@ -0,0 +1,31 @@
|
|||||||
|
package one.nem.lacerta.model;
|
||||||
|
|
||||||
|
public class KeyValueLog {
|
||||||
|
|
||||||
|
String key;
|
||||||
|
String value;
|
||||||
|
|
||||||
|
public KeyValueLog(String key, String value) {
|
||||||
|
this.key = key;
|
||||||
|
this.value = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Getter
|
||||||
|
public String getKey() {
|
||||||
|
return key;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getValue() {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Setter
|
||||||
|
public void setKey(String key) {
|
||||||
|
this.key = key;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setValue(String value) {
|
||||||
|
this.value = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in new issue
Block a user