提交 | 用户 | 时间
|
71e81e
|
1 |
/** |
懒 |
2 |
* Copyright 2018-2020 stylefeng & fengshuonan (https://gitee.com/stylefeng) |
|
3 |
* <p> |
|
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 |
* <p> |
|
8 |
* http://www.apache.org/licenses/LICENSE-2.0 |
|
9 |
* <p> |
|
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 |
package cn.stylefeng.guns.sys.core.constant.cache; |
|
17 |
|
|
18 |
/** |
|
19 |
* 缓存标识前缀集合,常用在ConstantFactory类中 |
|
20 |
* |
|
21 |
* @author fengshuonan |
|
22 |
* @date 2017-04-25 9:37 |
|
23 |
*/ |
|
24 |
public interface CacheKey { |
|
25 |
|
|
26 |
/** |
|
27 |
* 角色名称(多个) |
|
28 |
*/ |
|
29 |
String ROLES_NAME = "roles_name_"; |
|
30 |
|
|
31 |
/** |
|
32 |
* 角色名称(单个) |
|
33 |
*/ |
|
34 |
String SINGLE_ROLE_NAME = "single_role_name_"; |
|
35 |
|
|
36 |
/** |
|
37 |
* 角色英文名称 |
|
38 |
*/ |
|
39 |
String SINGLE_ROLE_TIP = "single_role_tip_"; |
|
40 |
|
|
41 |
/** |
|
42 |
* 部门名称 |
|
43 |
*/ |
|
44 |
String DEPT_NAME = "dept_name_"; |
|
45 |
|
|
46 |
} |