// Path: mappingrpc-connector/src/test/java/com/github/mappingrpc/connector/test/domain/User.java
// public class User implements Serializable {
// 	private static final long serialVersionUID = -5128432017050518465L;
// 
// 	private long id;
// 	private String displayName;
// 	private long flagBit;
// 	private String features = "{}";
// 	transient private JSONObject featuresJson = null;
// 
// 	public long getId() {
// 		return id;
// 	}
// 
// 	public void setId(long id) {
// 		this.id = id;
// 	}
// 
// 	public String getDisplayName() {
// 		return displayName;
// 	}
// 
// 	public void setDisplayName(String displayName) {
// 		this.displayName = displayName;
// 	}
// 
// 	public long getFlagBit() {
// 		return flagBit;
// 	}
// 
// 	public void setFlagBit(long flagBit) {
// 		this.flagBit = flagBit;
// 	}
// 
// 	public String getFeatures() {
// 		return features;
// 	}
// 
// 	public void setFeatures(String features) {
// 		this.features = features;
// 	}
// 
// 	public JSONObject getFeaturesJson() {
// 		return featuresJson;
// 	}
// 
// 	public void setFeaturesJson(JSONObject featuresJson) {
// 		this.featuresJson = featuresJson;
// 	}
// 
// }
// 
// Path: mappingrpc-connector/src/test/java/com/github/mappingrpc/connector/test/domain/option/LoginOption.java
// public class LoginOption {
// 
// }
// 
// Path: mappingrpc-connector/src/test/java/com/github/mappingrpc/connector/test/domain/option/RegisterOption.java
// public class RegisterOption {
// 
// }
// 
// Path: mappingrpc-connector/src/test/java/com/github/mappingrpc/connector/test/domain/result/ModelResult.java
// public class ModelResult<T> {
// 	private boolean success = true;
// 	private T model;
// 
// 	public ModelResult() {
// 	}
// 
// 	public ModelResult(T model) {
// 		this.model = model;
// 	}
// 
// 	public boolean isSuccess() {
// 		return success;
// 	}
// 
// 	public void setSuccess(boolean success) {
// 		this.success = success;
// 	}
// 
// 	public T getModel() {
// 		return model;
// 	}
// 
// 	public void setModel(T result) {
// 		this.model = result;
// 	}
// 
// 	public ModelResult<T> putResult(T result) {
// 		this.model = result;
// 		return this;
// 	}
// }


import github.mappingrpc.api.annotation.RequestMapping;
import com.github.mappingrpc.connector.test.domain.User;
import com.github.mappingrpc.connector.test.domain.option.LoginOption;
import com.github.mappingrpc.connector.test.domain.option.RegisterOption;
import com.github.mappingrpc.connector.test.domain.result.ModelResult;
package mappingrpc.test.centerserver.service;



public interface UserService {
	
	@Deprecated
	@RequestMapping("/userservice/register/20140305/")
	public User registerUser(User user, String password);

	@RequestMapping("/userService/registerUser/v20140308/")
	public User registerUser(User user, String password, RegisterOption option);
	
	@RequestMapping("/userService/loginMobile/v20141013/")
	public ModelResult<User> login(User user, String password, LoginOption option);
	
	@RequestMapping("/userService/loginNoGenericsResult/v20141110/")
// Path: mappingrpc-connector/src/test/java/com/github/mappingrpc/connector/test/domain/User.java
// public class User implements Serializable {
// 	private static final long serialVersionUID = -5128432017050518465L;
// 
// 	private long id;
// 	private String displayName;
// 	private long flagBit;
// 	private String features = "{}";
// 	transient private JSONObject featuresJson = null;
// 
// 	public long getId() {
// 		return id;
// 	}
// 
// 	public void setId(long id) {
// 		this.id = id;
// 	}
// 
// 	public String getDisplayName() {
// 		return displayName;
// 	}
// 
// 	public void setDisplayName(String displayName) {
// 		this.displayName = displayName;
// 	}
// 
// 	public long getFlagBit() {
// 		return flagBit;
// 	}
// 
// 	public void setFlagBit(long flagBit) {
// 		this.flagBit = flagBit;
// 	}
// 
// 	public String getFeatures() {
// 		return features;
// 	}
// 
// 	public void setFeatures(String features) {
// 		this.features = features;
// 	}
// 
// 	public JSONObject getFeaturesJson() {
// 		return featuresJson;
// 	}
// 
// 	public void setFeaturesJson(JSONObject featuresJson) {
// 		this.featuresJson = featuresJson;
// 	}
// 
// }
// 
// Path: mappingrpc-connector/src/test/java/com/github/mappingrpc/connector/test/domain/option/LoginOption.java
// public class LoginOption {
// 
// }
// 
// Path: mappingrpc-connector/src/test/java/com/github/mappingrpc/connector/test/domain/option/RegisterOption.java
// public class RegisterOption {
// 
// }
// 
// Path: mappingrpc-connector/src/test/java/com/github/mappingrpc/connector/test/domain/result/ModelResult.java
// public class ModelResult<T> {
// 	private boolean success = true;
// 	private T model;
// 
// 	public ModelResult() {
// 	}
// 
// 	public ModelResult(T model) {
// 		this.model = model;
// 	}
// 
// 	public boolean isSuccess() {
// 		return success;
// 	}
// 
// 	public void setSuccess(boolean success) {
// 		this.success = success;
// 	}
// 
// 	public T getModel() {
// 		return model;
// 	}
// 
// 	public void setModel(T result) {
// 		this.model = result;
// 	}
// 
// 	public ModelResult<T> putResult(T result) {
// 		this.model = result;
// 		return this;
// 	}
// }


// Path: mappingrpc-connector/src/test/java/mappingrpc/test/centerserver/service/UserService.java
import github.mappingrpc.api.annotation.RequestMapping;
import com.github.mappingrpc.connector.test.domain.User;
import com.github.mappingrpc.connector.test.domain.option.LoginOption;
import com.github.mappingrpc.connector.test.domain.option.RegisterOption;
import com.github.mappingrpc.connector.test.domain.result.ModelResult;

package mappingrpc.test.centerserver.service;



public interface UserService {
	
	@Deprecated
	@RequestMapping("/userservice/register/20140305/")
	public User registerUser(User user, String password);

	@RequestMapping("/userService/registerUser/v20140308/")
	public User registerUser(User user, String password, RegisterOption option);
	
	@RequestMapping("/userService/loginMobile/v20141013/")
	public ModelResult<User> login(User user, String password, LoginOption option);
	
	@RequestMapping("/userService/loginNoGenericsResult/v20141110/")
	public User loginNoGenericsResult(User user, String password, LoginOption option);