namespace Infrastructure
{
    public static class Define
    {
        public static string USERROLE = "UserRole";       //用户角色关联KEY
        public const string ROLERESOURCE = "RoleResource";  //角色资源关联KEY
        public const string USERORG = "UserOrg";  //用户机构关联KEY
        public const string ROLEELEMENT = "RoleElement"; //角色菜单关联KEY
        public const string ROLEMODULE = "RoleModule";   //角色模块关联KEY
        public const string ROLEDATAPROPERTY = "RoleDataProperty";   //角色数据字段权限


        public const string DBTYPE_SQLSERVER = "SqlServer";    //sql server
        public const string DBTYPE_MYSQL = "MySql";    //mysql
        public const string DBTYPE_PostgreSQL = "PostgreSQL";    //PostgreSQL
        public const string DBTYPE_ORACLE = "Oracle";    //oracle


        public const int INVALID_TOKEN = 50014;     //token无效

        public const string TOKEN_NAME = "X-Token";
        public const string TENANT_ID = "tenantId";


        public const string SYSTEM_USERNAME = "System";
        public const string SYSTEM_USERPWD = "acdcd3db09e0dc32c222c1840144e31d";
        //public const string SYSTEM_USERPWD = "6ff33dd3478bae96663aced32f5262fa";
        public const string SYSTEM_SECRETKEY = "b6467189772775db";

        public const string DATAPRIVILEGE_LOGINUSER = "{loginUser}";  //数据权限配置中，当前登录用户的key
        public const string DATAPRIVILEGE_LOGINROLE = "{loginRole}";  //数据权限配置中，当前登录用户角色的key
        public const string DATAPRIVILEGE_LOGINORG = "{loginOrg}";  //数据权限配置中，当前登录用户部门的key

        public const string JOBMAPKEY = "OpenJob";

        public const string DEFAULT_FORM_INSTANCE_ID_NAME = "InstanceId";

        #region 无人机
        public const string USERDRONECASE = "UserDroneCase"; // 用户 无人机案件绑定
        public const string FLOW_ROLE = "FlowRole"; //审核流程和角色绑定
        public const string DRONE_CASE_TOPIC = "DRONE_CASE_TOPIC";
        public const string TOPIC_CASETYPE = "TopicCaseType";//专题和案件绑定
        public const string TOPIC_ROLE = "TopicRole";//专题和角色绑定
        #endregion
    }
}
