init commit

This commit is contained in:
路 范
2022-03-30 17:54:33 +08:00
parent df01841625
commit 904bdd16cd
500 changed files with 217251 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Serialization;
namespace Ewide.Core
{
/// <summary>
/// 角色数据范围表
/// </summary>
[Table("sys_role_data_scope")]
[Comment("角色数据范围表")]
public class SysRoleDataScope : IEntity
{
/// <summary>
/// 角色Id
/// </summary>
[Comment("角色Id")]
[Column("SysRoleId", TypeName = "varchar(36)")]
public string SysRoleId { get; set; }
/// <summary>
/// 一对一引用(系统角色)
/// </summary>
public SysRole SysRole { get; set; }
/// <summary>
/// 机构Id
/// </summary>
[Comment("机构Id")]
[Column("SysOrgId", TypeName = "varchar(36)")]
public string SysOrgId { get; set; }
/// <summary>
/// 一对一引用(系统机构)
/// </summary>
[XmlIgnore]
public SysOrg SysOrg { get; set; }
}
}