using System; using System.ComponentModel.DataAnnotations.Schema; namespace Oqtane.Models { public class SiteGroup : ModelBase { /// /// ID to identify the site group /// public int SiteGroupId { get; set; } /// /// Reference to the . /// public int SiteGroupDefinitionId { get; set; } /// /// Reference to the . /// public int SiteId { get; set; } /// /// Indicates if content should be synchronized for the site (false = compare, true = update) /// public bool Synchronize { get; set; } /// /// The role who should be notified of changes to the site (non-primary site only) /// public string NotifyRoleName { get; set; } /// /// The last date/time the site was synchronized /// public DateTime? SynchronizedOn { get; set; } /// /// The itself. /// public SiteGroupDefinition SiteGroupDefinition { get; set; } /// /// The primary alias for the site /// [NotMapped] public string AliasName { get; set; } } }