package com.huaheng.common.constant; /** * 通用常量信息 * * @author huaheng */ public class Constants { /** * UTF-8 字符集 */ public static final String UTF8 = "UTF-8"; /** * 通用成功标识 */ public static final String SUCCESS = "0"; /** * 通用失败标识 */ public static final String FAIL = "1"; /** * 登录成功 */ public static final String LOGIN_SUCCESS = "Success"; /** * 注销 */ public static final String LOGOUT = "Logout"; /** * 登录失败 */ public static final String LOGIN_FAIL = "Error"; /** * 自动去除表前缀 */ public static String AUTO_REOMVE_PRE = "true"; /** * 当前记录起始索引 */ public static String PAGE_NUM = "pageNum"; /** * 每页显示记录数 */ public static String PAGE_SIZE = "pageSize"; /** * 排序列 */ public static String ORDER_BY_COLUMN = "sort"; /** * 排序的方向 "desc" 或者 "asc". */ public static String IS_ASC = "isAsc"; /** * order */ public static String ORDER = "order"; public static Integer SEND_SUCCESS = 0; public static Integer SEND_FAIL = 1; public static final int ORDER_TIMEOUT = 1; /*分钟超时单位:min*/ public static final String DOUBLE_RK = "DoubleRK"; public static final String SINGER_RK = "SingleRK"; }