package com.ajb.web;


import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
/**
 * 车险相关系统数据
 * @author Simon Cheng
 *
 */
@RestController
@RequestMapping(value="/meta")
public class MetaDataController {
	/**
	 * 输出省份，省份简称列表
	 * @return
	 * @throws Exception
	 */
	@RequestMapping(value="/listprovince",method = RequestMethod.GET)
	public Object queryProvince() throws Exception{				
		//ProvinceResponse quotationResponse = new ProvinceResponse();
		//TODO 
		return null;	
	}
	/**
	 * 关键字查询品牌，大众，别克，宝马，奔驰
	 * @param keyword
	 * @return
	 * @throws Exception
	 */
	@RequestMapping(value="/queryallbrand",method = RequestMethod.GET)
	public Object queryAllBrand() throws Exception{				
		//ProvinceResponse quotationResponse = new ProvinceResponse();
		//TODO 
		return null;	
	}
	/**
	 * 关键字查询品牌，大众，别克，宝马，奔驰
	 * @param keyword
	 * @return
	 * @throws Exception
	 */
	@RequestMapping(value="/querybrandmodellist/{keyword}",method = RequestMethod.GET)
	public Object queryBrand(@PathVariable String keyword) throws Exception{				
		//ProvinceResponse quotationResponse = new ProvinceResponse();
		//TODO 
		return null;	
	}
	/**
	 * 查询型号详细信息，指导价格
	 * @param modelnumber
	 * @return
	 * @throws Exception
	 */
	@RequestMapping(value="/querybrandmodel/{modelnumber}",method = RequestMethod.GET)
	public Object queryBrandModel(@PathVariable String modelnumber) throws Exception{				
		//ProvinceResponse quotationResponse = new ProvinceResponse();
		//TODO 
		return null;	
	}
}