update 种子文件转为XML格式
This commit is contained in:
@@ -5,6 +5,7 @@ using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace Ewide.Core
|
||||
{
|
||||
@@ -54,35 +55,41 @@ namespace Ewide.Core
|
||||
/// <summary>
|
||||
/// 多对多(用户)
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public ICollection<SysUser> SysUsers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 多对多中间表(用户角色)
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public List<SysUserRole> SysUserRoles { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 多对多(机构)
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public ICollection<SysOrg> SysOrgs { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 多对多中间表(角色-机构 数据范围)
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public List<SysRoleDataScope> SysRoleDataScopes { get; set; }
|
||||
|
||||
[XmlIgnore]
|
||||
public ICollection<AreaNumber> AreaNumbers { get; set; }
|
||||
|
||||
[XmlIgnore]
|
||||
public List<SysRoleArea> SysRoleAreas { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 多对多(菜单)
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public ICollection<SysMenu> SysMenus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 多对多中间表(角色-菜单)
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public List<SysRoleMenu> SysRoleMenus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user