36 lines
721 B
Java
36 lines
721 B
Java
package com.cnbm.admin.entity;
|
||
|
||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||
import com.baomidou.mybatisplus.annotation.TableName;
|
||
import com.cnbm.common.entity.BaseEntity;
|
||
import lombok.Data;
|
||
import lombok.EqualsAndHashCode;
|
||
|
||
/**
|
||
* @Author weihongyang
|
||
* @Date 2022/6/10 1:34 PM
|
||
* @Version 1.0
|
||
*/
|
||
@Data
|
||
@EqualsAndHashCode(callSuper=false)
|
||
@TableName("sys_role_user")
|
||
public class SysRoleUserEntity extends BaseEntity {
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
/**
|
||
* 角色ID
|
||
*/
|
||
private Long roleId;
|
||
/**
|
||
* 用户ID
|
||
*/
|
||
private Long userId;
|
||
/**
|
||
* 删除标识,是否有效:1可用 0不可用
|
||
*/
|
||
@TableLogic
|
||
private Integer valid;
|
||
|
||
}
|
||
|