29 lines
726 B
C#
29 lines
726 B
C#
namespace XP.Common.License.Configs
|
|
{
|
|
/// <summary>
|
|
/// 授权配置实体 | License configuration entity
|
|
/// </summary>
|
|
public class LicenseConfig
|
|
{
|
|
/// <summary>
|
|
/// 授权模式 | License mode
|
|
/// </summary>
|
|
public int LicenseMode { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 模块ID | Module ID
|
|
/// </summary>
|
|
public ushort ModuleId { get; set; } = 4;
|
|
|
|
/// <summary>
|
|
/// 是否使用SMA | Whether to use SMA
|
|
/// </summary>
|
|
public bool UseSma { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// 授权状态 | License state
|
|
/// </summary>
|
|
public int LicenseState { get; set; } = 20;
|
|
}
|
|
}
|