package com.partynetwork.dataprovider.json.struct; import com.partynetwork.dataprovider.json.CommonRequest; import com.partynetwork.dataprovider.json.CommonResponse; public class Assistant_getOrderArrayRequest extends CommonRequest { // 当前用户Id private int userId; // 身份类别(0:参加者;1:发起者) private int userType; // 订单类别(见附表五) private int orderType; public Assistant_getOrderArrayRequest() { this._requestAction = "Assistant/getOrderArray"; } /** * @return userId */ public int getUserId() { return userId; } /** * @param userId 要设置的 userId */ public void setUserId(int userId) { this.userId = userId; } /** * @return userType */ public int getUserType() { return userType; } /** * @param userType 要设置的 userType */ public void setUserType(int userType) { this.userType = userType; } /** * @return orderType */ public int getOrderType() { return orderType; } /** * @param orderType 要设置的 orderType */ public void setOrderType(int orderType) { this.orderType = orderType; } @Override public String getJson(CommonRequest request) { return gson.toJson((Assistant_getOrderArrayRequest) request); } @Override public CommonResponse getObject(String paramStream) { return gson.fromJson(paramStream, Assistant_getOrderArrayResponse.class); } }