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; } /// /// Specifies the site synchronization approach (false = compare, true = update) /// public bool Synchronize { get; set; } /// /// Indicates if the site administrator should be notified of any synchronization activity /// public bool Notify { 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; } } }