安卓端/course_mgmt_app/src/net/common/android/model/ResponseData.java

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

package net.common.android.model;


/**
 * 响应数据
 * @author hjgang
 */
public class ResponseData {
	
	public static final class Attr{
		public static final String CODE = "code";
		public static final String HASMORE = "hasmore";
		public static final String JSON = "json";
		public static final String RESULT = "result";
		public static final String COUNT = "count";
		public static final String LOGIN = "login";
	}
	
	/** 状态码:200 | 304 | 404 | 500 */
	private int code;
	/** 是否有下一页 */
	private boolean hasMore;
	/** JSON格式的字符串 */
	private String json;
	/** 字符串结果 */
	private String result;
	/** 总记录数 */
	private long count;
	
	private int login = -1;
	
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public boolean isHasMore() {
		return hasMore;
	}
	public void setHasMore(boolean hasMore) {
		this.hasMore = hasMore;
	}
	public String getJson() {
		return json;
	}
	public void setJson(String json) {
		this.json = json;
	}
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public long getCount() {
		return count;
	}
	public void setCount(long count) {
		this.count = count;
后面还有 15 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。