19 package org.turro.server.db.entities;
21 import java.io.Serializable;
23 import javax.json.JsonValue;
24 import javax.persistence.Entity;
25 import javax.persistence.Id;
26 import org.turro.jpa.entity.IDaoEntity;
27 import org.turro.json.IJSONizable;
28 import org.turro.ws.WsMember;
29 import org.turro.ws.service.server.Clients;
40 private boolean defaultBan;
47 this.memberId = memberId;
55 this.defaultBan = defaultBan;
61 return Clients.getMember(memberId);
84 public String
toJson(Map<String, Object> properties) {
85 return toJson(
this, properties);
void setDefaultBan(boolean defaultBan)
String toJson(Map< String, Object > properties)
static AxMemberPreferences fromJson(JsonValue value)
void setMemberId(Long memberId)