package com.oocl.euc.ita.training.restful;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.oocl.euc.ita.core.controller.RESTController;
import com.oocl.euc.ita.core.service.BaseService;
import com.oocl.euc.ita.training.entity.Training;
import com.oocl.euc.ita.training.service.TrainingService;

@Controller
@RequestMapping("api/training")
public class TrainingApi extends RESTController<Training> {

	@Autowired
	TrainingService trainingService;

	@Override
	public BaseService<Training> getRestService() {
		return trainingService;
	}

}

