package com.sqsoft.mars.weixin.client.cgibin.template;

import java.io.Serializable;

import org.springframework.http.HttpMethod;

import com.sqsoft.mars.core.common.utils.JsonUtils;
import com.sqsoft.mars.weixin.client.WeixinRequest;

/**
 * 设置所属行业
 * @author whai888
 *
 */
public class ApiSetIndustryRequest implements WeixinRequest<ApiSetIndustryResponse>, Serializable{

	
	public ApiSetIndustryRequest(ApiSetIndustryPostVo apiSetIndustryPostVo) {
		super();
		this.apiSetIndustryPostVo = apiSetIndustryPostVo;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private ApiSetIndustryPostVo apiSetIndustryPostVo ;
	
	@Override
	public HttpMethod getHttpMethod() {
		// TODO Auto-generated method stub
		return HttpMethod.POST;
	}

	@Override
	public String getMethodScope() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Class<ApiSetIndustryResponse> getResponseClass() {
		// TODO Auto-generated method stub
		return ApiSetIndustryResponse.class;
	}

	@Override
	public Object getRequestMessage() {
		// TODO Auto-generated method stub
		return JsonUtils.toJson(apiSetIndustryPostVo);
	}

	public ApiSetIndustryPostVo getApiSetIndustryPostVo() {
		return apiSetIndustryPostVo;
	}

	public void setApiSetIndustryPostVo(ApiSetIndustryPostVo apiSetIndustryPostVo) {
		this.apiSetIndustryPostVo = apiSetIndustryPostVo;
	}


}
