1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System.ComponentModel;
namespace FLY.Thick.Base.Common
{
/// <summary>
/// 密码元素
/// </summary>
public class PasswordCell : INotifyPropertyChanged
{
/// <summary>
/// 密码
/// </summary>
public string Password { get; set; }
/// <summary>
/// 权限, 数值越大,权限越大。
/// </summary>
public int Level { get; set; }
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; }
}
}