package com.house365.ws.service.impl;

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

import com.house365.beans.entity.BaseAttachmentType;
import com.house365.dao.system.interfaces.Dao;
import com.house365.service.system.impl.DefaultServiceImpl;
import com.house365.ws.dao.interfaces.IAttachmentTypeDao;
import com.house365.ws.service.interfaces.IAttachmentTypeService;

@Service("attachmentTypeService")
public class AttachmentTypeServiceImpl<T extends BaseAttachmentType> extends DefaultServiceImpl<T> implements
		IAttachmentTypeService<T> {

	@Autowired
	IAttachmentTypeDao<T> attachmentTypeDao;
	
	@Override
	protected Dao<T> getDao() {
		return attachmentTypeDao;
	}

}
