inleft
2022-02-09 9bcb19959eeb9da9bde2561e7278f6d0a55eb151
commit | author | age
9bcb19 1 /*
I 2 Copyright [2020] [https://www.xiaonuo.vip]
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8   http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
17
18 1.请不要删除和修改根目录下的LICENSE文件。
19 2.请不要删除和修改Snowy源码头部的版权声明。
20 3.请保留源码和相关描述文件的项目出处,作者声明等。
21 4.分发源码时候,请注明软件出处 https://gitee.com/xiaonuobase/snowy
22 5.在修改包名,模块名称,项目代码等时,请注明软件出处 https://gitee.com/xiaonuobase/snowy
23 6.若您的项目无法满足以上几点,可申请商业授权,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
24  */
25 package vip.xiaonuo.core.consts;
26
27 /**
28  * 通用常量
29  *
30  * @author xuyuxiang yubaoshan
31  * @date 2020/3/11 16:51
32  */
33 public interface CommonConstant {
34
35     /**
36      * id
37      */
38     String ID = "id";
39
40     /**
41      * 名称
42      */
43     String NAME = "name";
44
45     /**
46      * 编码
47      */
48     String CODE = "code";
49
50     /**
51      * 值
52      */
53     String VALUE = "value";
54
55     /**
56      * 默认标识状态的字段名称
57      */
58     String STATUS = "status";
59
60     /**
61      * 默认逻辑删除的状态值
62      */
63     String DEFAULT_LOGIC_DELETE_VALUE = "2";
64
65     /**
66      * 用户代理
67      */
68     String USER_AGENT = "User-Agent";
69
70     /**
71      * 请求头token表示
72      */
73     String AUTHORIZATION = "Authorization";
74
75     /**
76      * token名称
77      */
78     String TOKEN_NAME = "token";
79
80     /**
81      * token类型
82      */
83     String TOKEN_TYPE_BEARER = "Bearer";
84
85     /**
86      * 首页提示语
87      */
88     String INDEX_TIPS = "Welcome To Snowy";
89
90     /**
91      * 未知标识
92      */
93     String UNKNOWN = "Unknown";
94
95     /**
96      * 默认包名
97      */
98     String DEFAULT_PACKAGE_NAME = "vip.xiaonuo";
99
100     /**
101      * 默认密码
102      */
103     String DEFAULT_PASSWORD = "123456";
104
105     /**
106      * 请求号在header中的唯一标识
107      */
108     String REQUEST_NO_HEADER_NAME = "Request-No";
109
110     /**
111      * 数据库链接URL标识
112      */
113     String DATABASE_URL_NAME = "DATABASE_URL_NAME";
114
115     /**
116      * 数据库链接驱动标识
117      */
118     String DATABASE_DRIVER_NAME = "DATABASE_DRIVER_NAME";
119
120     /**
121      * 数据库用户标识
122      */
123     String DATABASE_USER_NAME = "DATABASE_USER_NAME";
124
125     /**
126      * 点选验证码
127      */
128     String IMAGE_CODE_TYPE = "clickWord";
129
130     /**
131      * undefined未知
132      */
133     String UNDEFINED = "undefined";
134 }