
com.sicheng.admin.sys.entity.Role Maven / Gradle / Ivy
The newest version!
/**
* 本作品使用 木兰公共许可证,第2版(Mulan PubL v2) 开源协议,请遵守相关条款,或者联系sicheng.net获取商用授权。
* Copyright (c) 2016 SiCheng.Net
* This software is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
package com.sicheng.admin.sys.entity;
import com.google.common.collect.Lists;
import org.apache.commons.lang3.StringUtils;
import java.util.ArrayList;
import java.util.List;
/**
* 角色 Entity 子类,请把你的业务代码写在这里
*
* @author fxx
* @version 2017-02-08
*/
public class Role extends RoleBase {
private static final long serialVersionUID = 1L;
public Role() {
}
public Role(Long id) {
super(id);
}
public Role(User user) {
this();
this.user = user;
}
private String oldName; // 原角色名称
private String oldEnname; // 原英文名称
private User user; // 根据用户ID查询角色列表
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy