refactor: 系统功能重构

This commit is contained in:
hxr
2024-06-24 08:15:46 +08:00
parent 5a6ae48bcd
commit 7d1fcfbef4
71 changed files with 900 additions and 1048 deletions

View File

@@ -2,18 +2,21 @@ package com.youlai.system.model.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.youlai.system.common.base.BaseEntity;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
/**
* 角色
* 角色 实体
*
* @author Ray
* @since 2024/6/23
*/
@TableName(value ="sys_role")
@Data
@Getter
@Setter
public class SysRole extends BaseEntity {
/**
*
* 主键
*/
@TableId(type = IdType.AUTO)
private Long id;
@@ -34,17 +37,22 @@ public class SysRole extends BaseEntity {
private Integer sort;
/**
* 角色状态(1-正常0-停用)
* 角色状态(1-正常 0-停用)
*/
private Integer status;
/**
* 逻辑删除标识(0-未删除1-已删除)
*/
private Integer deleted;
/**
* 数据权限
*/
private Integer dataScope;
/**
* 创建人 ID
*/
private Long createBy;
/**
* 更新人 ID
*/
private Long updateBy;
}