using System; using System.Collections.Generic; namespace Workbench.Entity { public partial class Tenant { public Tenant() { Settings = new HashSet(); } /// /// Tenant primary key /// public long Id { get; set; } /// /// Tenant code. Main key to search. /// public string Code { get; set; } = null!; /// /// Tenant name. Informational value. /// public string Name { get; set; } = null!; /// /// Last access (usage) timestamp. /// public DateTime? LastAccess { get; set; } /// /// Flag if tenant locked (not accessable) /// public bool IsLocked { 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 ICollection Settings { get; set; } } }