package com.sf.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author WanJl
 * @version 1.0
 * @title SysRole
 * @description
 * @create 2025/11/16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysRole {
    private Integer roleId;
    private String roleName;
    private String roleCode;
    private String description;
    private LocalDateTime createTime;
    /**
     * 多对多：一个角色包含多个菜单
     */
    private List<SysMenu>  menuList;
    private List<SysUser>  userList;
}
