懒羊羊
2023-08-30 71e81ed1d12e4d69f53c8ad9e066650ad4186293
提交 | 用户 | 时间
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.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 DeptDict extends AbstractDictMap {
27
28     @Override
29     public void init() {
30         put("deptId", "部门名称");
31         put("sort", "部门排序");
32         put("pid", "上级名称");
33         put("simpleName", "部门简称");
34         put("fullName", "部门全称");
35         put("description", "备注");
36     }
37
38     @Override
39     protected void initBeWrapped() {
40         putFieldWrapperMethodName("deptId", "getDeptName");
41         putFieldWrapperMethodName("pid", "getDeptName");
42     }
43 }