com.didiglobal.logi.security.common.entity.UserRole Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logi-security-spring-boot-starter Show documentation
Show all versions of logi-security-spring-boot-starter Show documentation
logi-security 提供项目大多都需要的一些基础功能(用户、角色、权限、登录、注册、操作记录)
package com.didiglobal.logi.security.common.entity;
import lombok.Data;
/**
* @author cjm
*
* 用户角色关系
*/
@Data
public class UserRole {
/**
* 用户id
*/
private Integer userId;
/**
* 角色id
*/
private Integer roleId;
public UserRole() {}
public UserRole(Integer userId, Integer roleId) {
this.userId = userId;
this.roleId = roleId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy