package com.house365.ws.service.impl;

import com.house365.beans.entity.CustomerCallbackTemplateEntity;
import com.house365.dao.system.interfaces.Dao;
import com.house365.service.system.impl.DefaultServiceImpl;
import com.house365.ws.dao.interfaces.ICustomerCallbackTemplateDao;
import com.house365.ws.service.interfaces.ICustomerCallbackTemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("customerCallbackTemplateService")
public class CustomerCallbackTemplateServiceImpl<T extends CustomerCallbackTemplateEntity> extends DefaultServiceImpl<T> implements ICustomerCallbackTemplateService<T> {

    /**
     * 自动注入的数据访问对象
     */
    @Autowired
    private ICustomerCallbackTemplateDao<T> customerCallbackTemplateDao;

    @Override
    protected Dao<T> getDao() {
        return customerCallbackTemplateDao;
    }
}