package com.baidu.dsp.common.constant;

/**
 * 前后端接口常量
 *
 * @author liaoqiqi
 * @version 2013-12-4
 */
public class FrontEndInterfaceConstant {

    public final static String RETURN_SUCCESS = "success";
    public final static String RETURN_OK = "true";
    public final static String RETURN_FAIL = "false";

    public final static String SESSION_ID = "sessionId";

    public static final String RESULT = "result";
    public static final String FOOTR_RESULT = "footResult";

    public static final String PAGE_NO = "pageNo";
    public static final String PAGE_SIZE = "pageSize";
    public static final String PAGE_ORDER_BY = "orderBy";
    public static final String PAGE_ORDER = "order";
    public static final String TOTAL_COUNT = "totalCount";

    public final static String RETURN_MESSAGE = "message";
    public static final String FIELD_STRING = "field";
    public static final String GLOBAL_STRING = "global";

    public static final String STATUS_CODE_STRING = "status";

    /**
     * 与FE通信多项值分隔符
     */
    public static final String FE_LIST_SPLITOR = ",";

    /**
     * URL最大长度
     */
    public static final int URL_MAX_LENGTH = 1024;

}
