update 种子文件转为XML格式
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace Ewide.Core
|
||||
{
|
||||
@@ -129,11 +130,13 @@ namespace Ewide.Core
|
||||
/// <summary>
|
||||
/// 多对多(角色)
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public ICollection<SysRole> SysRoles { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 多对多中间表(用户角色)
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public List<SysRoleMenu> SysRoleMenus { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user