|
|
|
@ -185,6 +185,7 @@ public class EntityAccount extends EntityOrder implements Serializable {
|
|
|
|
|
json.put("color", color);
|
|
|
|
|
|
|
|
|
|
json.put("synchronize", synchronize);
|
|
|
|
|
json.put("ondemand", ondemand);
|
|
|
|
|
json.put("primary", primary);
|
|
|
|
|
json.put("notify", notify);
|
|
|
|
|
json.put("browse", browse);
|
|
|
|
@ -238,6 +239,8 @@ public class EntityAccount extends EntityOrder implements Serializable {
|
|
|
|
|
account.color = json.getInt("color");
|
|
|
|
|
|
|
|
|
|
account.synchronize = json.getBoolean("synchronize");
|
|
|
|
|
if (json.has("ondemand"))
|
|
|
|
|
account.ondemand = json.getBoolean("ondemand");
|
|
|
|
|
account.primary = json.getBoolean("primary");
|
|
|
|
|
if (json.has("notify"))
|
|
|
|
|
account.notify = json.getBoolean("notify");
|
|
|
|
|