package com.cm.central.control.controller.routes.projectleader;

import com.cm.common.constants.ISystemConstant;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * When you feel like quitting. Think about why you started
 * 当你想要放弃的时候，想想当初你为何开始
 *
 * @ClassName: ProjectLeaderRouteController
 * @Description: 项目负责人
 * @Author: WangGeng
 * @Date: 2020/7/30 7:42 下午
 * @Version: 1.0
 **/
@Api(tags = ISystemConstant.API_TAGS_SYSTEM_PREFIX + "项目负责人接口")
@Controller
@RequestMapping(ISystemConstant.ROUTE_PREFIX + "/projectleader")
public class ProjectLeaderRouteController {

    @ApiOperation(value = "客户端异常列表")
    @GetMapping("listprojectleader")
    public ModelAndView listProjectleader() {
        return new ModelAndView("projectleader/list-projectleader");
    }

    @ApiOperation(value = "客户端异常新增")
    @GetMapping("saveprojectleader")
    public ModelAndView saveProjectleader() {
        return new ModelAndView("projectleader/save-projectleader");
    }

    @ApiOperation(value = "客户端异常编辑")
    @GetMapping("updateprojectleader")
    public ModelAndView updateProjectleader() {
        return new ModelAndView("projectleader/update-projectleader");
    }



}
