using Furion.DatabaseAccessor; using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; namespace iWare.Wms.Core { /// /// 角色数据范围表 /// [Table("sys_role_data_scope")] [Comment("角色数据范围表")] public class SysRoleDataScope : IEntity { /// /// 角色Id /// [Comment("角色Id")] public long SysRoleId { get; set; } /// /// 一对一引用(系统角色) /// public SysRole SysRole { get; set; } /// /// 机构Id /// [Comment("机构Id")] public long SysOrgId { get; set; } /// /// 一对一引用(系统机构) /// public SysOrg SysOrg { get; set; } } }