using System.ComponentModel; namespace FLY.Thick.Base.Common { /// /// 密码元素 /// public class PasswordCell : INotifyPropertyChanged { /// /// 密码 /// public string Password { get; set; } /// /// 权限, 数值越大,权限越大。 /// public int Level { get; set; } /// /// 描述,例如 "管理员" /// public string Description { get; set; } public event PropertyChangedEventHandler PropertyChanged; } /// /// 界面权限元素 /// public class UiLvCell : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; /// /// 请求权限界面名称 /// public string UiName { get; set; } /// /// 描述, 当Description不为空,编辑界面显示 Description; 为空时,显示UiName /// public string Description { get; set; } /// /// 权限, 数值越大,权限越大。 0~10 /// public int Level { get; set; } } }