XmlSeedData
This commit is contained in:
@@ -7,6 +7,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace Ewide.Core
|
namespace Ewide.Core
|
||||||
{
|
{
|
||||||
@@ -54,23 +55,28 @@ namespace Ewide.Core
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 多个区域有多个用户绑定自定义数据
|
/// 多个区域有多个用户绑定自定义数据
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[XmlIgnore]
|
||||||
public ICollection<SysUser> SysUsers { get; set; }
|
public ICollection<SysUser> SysUsers { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 中间表
|
/// 中间表
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[XmlIgnore]
|
||||||
public List<SysUserArea> SysUserAreas { get; set; }
|
public List<SysUserArea> SysUserAreas { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 多个区域有多个角色绑定权限数据
|
/// 多个区域有多个角色绑定权限数据
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[XmlIgnore]
|
||||||
public ICollection<SysRole> SysRoles { get; set; }
|
public ICollection<SysRole> SysRoles { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 中间表
|
/// 中间表
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[XmlIgnore]
|
||||||
public List<SysRoleArea> SysRoleAreas { get; set; }
|
public List<SysRoleArea> SysRoleAreas { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 一个区域有多个组织
|
/// 一个区域有多个组织
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[XmlIgnore]
|
||||||
public ICollection<SysOrg> SysOrgs { get; set; }
|
public ICollection<SysOrg> SysOrgs { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<ArrayOfSysApp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
<ArrayOfSysApp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
<SysApp>
|
<SysApp>
|
||||||
<Id>4faa6ae5-ab54-4145-8dd5-4aa0b3b6687e</Id>
|
<Id>8b2aeb5e-09a6-4afd-bcae-8ee8e5a1e6ec</Id>
|
||||||
<CreatedTime xsi:nil="true" />
|
<CreatedTime xsi:nil="true" />
|
||||||
<UpdatedTime xsi:nil="true" />
|
<UpdatedTime xsi:nil="true" />
|
||||||
<IsDeleted>false</IsDeleted>
|
<IsDeleted>false</IsDeleted>
|
||||||
|
|||||||
Reference in New Issue
Block a user