package com.xfdmao.fcat.common.constant;

/**
 * Created by xiangfei on 2017/7/25.
 */
public class CommonConstant {
    public final static int ROOT = -1;
    public final static int DEFAULT_GROUP_TYPE = 0;
    /**
     * 权限关联类型
     */
    public final static String AUTHORITY_TYPE_GROUP = "group";
    /**
     * 权限资源类型
     */
    public final static String RESOURCE_TYPE_MENU = "menu";
    public final static String RESOURCE_TYPE_ELEMENT = "element";

    public final static String GROUP_USER_TYPE_LEADER = "leader";
    public final static String GROUP_USER_TYPE_MEMBER = "member";

    public final static String RESOURCE_REQUEST_METHOD_GET = "GET";
    public final static String RESOURCE_REQUEST_METHOD_PUT = "PUT";
    public final static String RESOURCE_REQUEST_METHOD_DELETE = "DELETE";
    public final static String RESOURCE_REQUEST_METHOD_POST = "POST";


    public final static Integer PAGE_SIZE = 10;
    public final static Integer PAGE_NUM = 1;

}
