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

@@ -2,6 +2,7 @@
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Serialization;
namespace Ewide.Core
{
@@ -73,26 +74,31 @@ namespace Ewide.Core
/// <summary>
/// 一对一 一个组织对应一个区域代码
/// </summary>
[XmlIgnore]
public AreaNumber AreaNumber { get; set; }
/// <summary>
/// 多对多(用户)
/// </summary>
[XmlIgnore]
public ICollection<SysUser> SysUsers { get; set; }
/// <summary>
/// 多对多中间表(用户数据范围)
/// </summary>
[XmlIgnore]
public List<SysUserDataScope> SysUserDataScopes { get; set; }
/// <summary>
/// 多对多(角色)
/// </summary>
[XmlIgnore]
public ICollection<SysRole> SysRoles { get; set; }
/// <summary>
/// 多对多中间表(角色数据范围)
/// </summary>
[XmlIgnore]
public List<SysRoleDataScope> SysRoleDataScopes { get; set; }
}
}