提交 | 用户 | 时间
|
1ac2bc
|
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.dictmap; |
|
17 |
|
|
18 |
import cn.stylefeng.guns.base.dict.AbstractDictMap; |
|
19 |
|
|
20 |
/** |
|
21 |
* 用于删除业务的字典 |
|
22 |
* |
|
23 |
* @author fengshuonan |
|
24 |
* @date 2017-05-06 15:01 |
|
25 |
*/ |
|
26 |
public class DeleteDict extends AbstractDictMap { |
|
27 |
|
|
28 |
@Override |
|
29 |
public void init() { |
|
30 |
put("roleId", "角色名称"); |
|
31 |
put("deptId", "部门名称"); |
|
32 |
put("menuId", "菜单名称"); |
|
33 |
put("dictId", "字典名称"); |
|
34 |
put("noticeId", "标题"); |
|
35 |
} |
|
36 |
|
|
37 |
@Override |
|
38 |
protected void initBeWrapped() { |
|
39 |
putFieldWrapperMethodName("roleId", "getCacheObject"); |
|
40 |
putFieldWrapperMethodName("deptId", "getCacheObject"); |
|
41 |
putFieldWrapperMethodName("menuId", "getCacheObject"); |
|
42 |
putFieldWrapperMethodName("dictId", "getCacheObject"); |
|
43 |
putFieldWrapperMethodName("noticeId", "getCacheObject"); |
|
44 |
|
|
45 |
} |
|
46 |
} |