namespace zero.Api.Models; public abstract class DisplayModel : ZeroIdEntity, ISupportsFlavors where T : ZeroEntity { /// /// Full name of the entity /// public string Name { get; set; } /// /// Alias (non-unique) which can be used in the frontend and URLs /// public string Alias { get; set; } /// /// A key which can be used to query this entity in code /// public string Key { get; set; } /// /// Sort order /// public uint Sort { get; set; } /// /// Whether the entity is visible in the frontend /// public bool IsActive { get; set; } /// /// Unique hash for this entity (primarily used for routing) /// public string Hash { get; set; } /// /// Backoffice user who last modified this content /// public string LastModifiedById { get; set; } /// /// Date of last modification /// public DateTimeOffset LastModifiedDate { get; set; } /// /// Backoffice user who created this content /// public string CreatedById { get; set; } /// /// Date of creation /// public DateTimeOffset CreatedDate { get; set; } /// /// Language of the entity /// public string LanguageId { get; set; } /// /// Configured flavor of this entity /// public string Flavor { get; set; } }