using System; namespace Abp.Configuration { /// /// Represents a setting information. /// [Serializable] public class SettingInfo { /// /// TenantId for this setting. /// TenantId is null if this setting is not Tenant level. /// public int? TenantId { get; set; } /// /// UserId for this setting. /// UserId is null if this setting is not user level. /// public long? UserId { get; set; } /// /// Unique name of the setting. /// public string Name { get; set; } /// /// Value of the setting. /// public string Value { get; set; } /// /// Creates a new object. /// public SettingInfo() { } /// /// Creates a new object. /// /// TenantId for this setting. TenantId is null if this setting is not Tenant level. /// UserId for this setting. UserId is null if this setting is not user level. /// Unique name of the setting /// Value of the setting public SettingInfo(int? tenantId, long? userId, string name, string value) { TenantId = tenantId; UserId = userId; Name = name; Value = value; } } }