1 package org.oxerr.okcoin.rest.dto; 2 3 import com.fasterxml.jackson.annotation.JsonProperty; 4 5 public class UserInfo extends ErrorResult { 6 7 private static final long serialVersionUID = 20140614L; 8 9 private final Info info; 10 11 public UserInfo( 12 @JsonProperty("result") final boolean result, 13 @JsonProperty("errorCode") final int errorCode, 14 @JsonProperty("info") Info info) { 15 super(result, errorCode); 16 this.info = info; 17 } 18 19 public Info getInfo() { 20 return info; 21 } 22 23 }