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