using System; using System.Collections.Generic; namespace Workbench.Entity { public partial class Setting { public Setting() { InverseParent = new HashSet(); } /// /// Setting primary key /// public long Id { get; set; } /// /// Reference to parent setting /// public long? ParentId { get; set; } /// /// Reference to tenant that setting belongs /// public long TenantId { get; set; } /// /// Module code that setting belongs. Secondary key /// public string ModuleCode { get; set; } = null!; /// /// Order number /// public int SequenceNo { get; set; } /// /// Setting code. Main key to search. /// public string Code { get; set; } = null!; /// /// Setting value description /// public string? Description { get; set; } /// /// Qualified name of value type /// public string ValueTypeQualified { get; set; } = null!; /// /// Setting value /// public string? Value { get; set; } /// /// Flag if setting is enabled /// public bool IsEnabled { get; set; } /// /// Record created timestamp /// public DateTime Created { get; set; } /// /// Record modified timestamp /// public DateTime? Modified { get; set; } /// /// Record modifier signature /// public string? Modifier { get; set; } public virtual Setting? Parent { get; set; } public virtual Tenant Tenant { get; set; } = null!; public virtual ICollection InverseParent { get; set; } } }