package com.bizzan.bitrade.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bizzan.bitrade.dao.ExchangeFreezeHistoryDao;
import com.bizzan.bitrade.entity.ExchangeFreezeHistory;
import com.bizzan.bitrade.service.Base.BaseService;

import lombok.extern.slf4j.Slf4j;

@Service
@Slf4j
public class ExchangeFreezeHistoryService extends BaseService {

	@Autowired
	private ExchangeFreezeHistoryDao dao;
	
	public ExchangeFreezeHistory save(ExchangeFreezeHistory history) {
		return dao.saveAndFlush(history);
	}
}
