mapper.configure(JsonParser.Feature.ALLOW_UNQUOTED_FIELD_NAMES, true);
}
@Transactional
public AddSellResult addSell(AddSell dto){
Sell sell = new Sell();
sell.setBuyBadge(dto.getBuyBadge());
sell.setCity(dto.getCity());
sell.setCommission(dto.getCommission());
sell.setCountry(dto.getCountry());
sell.setEmail(dto.getEmail());
sell.setSellBadge(dto.getSellBadge());
model.persist(sell);
AddSellResult result = new AddSellResult();
try {
result.setRate(getRate(dto.getSellBadge(), dto.getBuyBadge()));