PasswordCommon.cs 1.14 KB
Newer Older
潘栩锋's avatar
潘栩锋 committed
1
using System.ComponentModel;
潘栩锋's avatar
潘栩锋 committed
2 3 4

namespace FLY.Thick.Base.Common
{
潘栩锋's avatar
潘栩锋 committed
5 6 7 8
    /// <summary>
    /// 密码元素
    /// </summary>
    public class PasswordCell : INotifyPropertyChanged
潘栩锋's avatar
潘栩锋 committed
9 10 11 12
    {
        /// <summary>
        /// 密码
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
13 14
        public string Password { get; set; }

潘栩锋's avatar
潘栩锋 committed
15 16 17
        /// <summary>
        /// 权限, 数值越大,权限越大。
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
18
        public int Level { get; set; }
潘栩锋's avatar
潘栩锋 committed
19

潘栩锋's avatar
潘栩锋 committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
        public event PropertyChangedEventHandler PropertyChanged;
    }
    /// <summary>
    /// 界面权限元素
    /// </summary>
    public class UiLvCell : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        /// <summary>
        /// 请求权限界面名称
        /// </summary>
        public string UiName { get; set; }
        /// <summary>
        /// 描述, 当Description不为空,编辑界面显示 Description; 为空时,显示UiName
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 权限, 数值越大,权限越大。 0~10
        /// </summary>
        public int Level { get; set; }
潘栩锋's avatar
潘栩锋 committed
40 41
    }
}