using Hncore.Infrastructure.Data; using Hncore.Infrastructure.DDD; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Data; using System.Linq.Expressions; using Microsoft.EntityFrameworkCore; using Hncore.Infrastructure.WebApi; using Hncore.Pass.Manage.Request; namespace Hncore.Pass.Manage.Domain { public class Permission : AggregateRoot { /// /// 用户数据库ID /// public override int Id { get; set; } /// /// 创建时间 /// public DateTime CreateTime { get; set; } /// /// 更新时间 /// public DateTime UpdateTime { get; set; } /// /// 创建人ID /// public int CreatorId { get; set; } /// /// 更新人ID /// public int UpdatorId { get; set; } /// /// 软删除标记,0.代表正常,1.代表已删除 /// public int DeleteTag { get; set; } /// /// 权限编码 /// public string Permissioncode { get; set; } public string Parentcode { get; set; } public string Permissionlabel { get; set; } public string Permissionurl { get; set; } /// /// 图标[50] /// public string Icon { get; set; } /// /// 激活图标 /// public string Iconactivate { get; set; } /// /// 是否查看 /// public int AllowView { get; set; } /// /// 是否添加 /// public int AllowAdd { get; set; } /// /// 是否修改 /// public int AllowEdit { get; set; } /// /// 是否删除 /// public int AllowDel { get; set; } /// /// 显示排序 /// public int Sortorder { get; set; } /// /// 是否收费 /// public bool Ischarge { get; set; } /// /// 模块编码 /// public string Nodecode { get; set; } /// /// 是否新功能 /// public bool isnew { get; set; } /// /// 系统标识 /// public int Systemid { get; set; } /// /// app权限编码 /// public string Appcodes { get; set; } } }