添加角色关联菜单功能

This commit is contained in:
chenchun
2022-09-11 14:52:54 +08:00
parent 909bdf60e7
commit 004cb20132
10 changed files with 275 additions and 297 deletions

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Model.Models;
namespace Yi.Framework.DTOModel
{
public class RoleInfoDto
{
public RoleEntity Role { get; set; }
public List<long> DeptIds { get; set; }
public List<long> MenuIds { get; set; }
}
}

View File

@@ -11,7 +11,7 @@ namespace Yi.Framework.DTOModel
{
public UserEntity User { get; set; }
public List<long> RoleIds { get; set; }
public List<long> PostId { get; set; }
public List<long> PostIds { get; set; }
public long? DeptId { get; set; }
}
}