update 种子文件转为XML格式

This commit is contained in:
2021-05-08 14:40:06 +08:00
parent ebd7d303dd
commit f6794e7f41
39 changed files with 5306 additions and 848 deletions

View File

@@ -6,6 +6,7 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Serialization;
namespace Ewide.Core
{
@@ -111,27 +112,32 @@ namespace Ewide.Core
/// <summary>
/// 多对多(角色)
/// </summary>
[XmlIgnore]
public ICollection<SysRole> SysRoles { 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<SysUserDataScope> SysUserDataScopes { get; set; }
[XmlIgnore]
public ICollection<AreaNumber> AreaNumbers { get; set; }
/// <summary>
/// 多对多中间表(用户-区域 数据范围)
/// </summary>
[XmlIgnore]
public List<SysUserArea> SysUserAreas { get; set; }
/// <summary>
/// 配置多对多关系