UserSettings update fix
This commit is contained in:
parent
0015f651a0
commit
7a057e1ebf
1 changed files with 6 additions and 2 deletions
|
|
@ -1,16 +1,20 @@
|
|||
package ru.spcex.clearing.platform.messaging.domain.cud.utilities;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.fasterxml.jackson.annotation.JsonRawValue;
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
|
||||
public class UserSettingsUpdateRequest {
|
||||
@JsonProperty
|
||||
public Long userId;
|
||||
@JsonProperty
|
||||
public String version;
|
||||
@JsonRawValue
|
||||
public String json;
|
||||
|
||||
@JsonProperty("json")
|
||||
public void unpackRawJson(JsonNode json) {
|
||||
this.json = json.toString();
|
||||
}
|
||||
|
||||
public Long getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue