You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using SqlSugar;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Core.Entity;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户数据权限表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("sys_data_usermenu")]
|
|
|
|
|
[Description("用户数据权限表")]
|
|
|
|
|
public class SysDataUserMenu
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long SysUserId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 菜单id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long SysMenuId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据范围类型(字典 1全部数据 2本部门及以下数据 3本部门数据 4仅本人数据 5自定义数据)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DataScopeType DataScopeType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 控制用户是否对数据可编辑
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsEdit { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|