2017-07-20 11:21:28 +02:00
|
|
|
|
using System;
|
2018-01-15 11:32:30 +01:00
|
|
|
|
using Umbraco.Core.Models.Entities;
|
2015-06-19 12:03:02 +02:00
|
|
|
|
using Umbraco.Core.Sync;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Core.Models
|
|
|
|
|
|
{
|
2018-01-10 12:48:51 +01:00
|
|
|
|
public interface IServerRegistration : IServerAddress, IEntity, IRememberBeingDirty
|
2015-06-19 12:03:02 +02:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the server unique identity.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
string ServerIdentity { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
new string ServerAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets a value indicating whether the server is active.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
bool IsActive { get; set; }
|
|
|
|
|
|
|
2015-08-27 13:22:01 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets a value indicating whether the server is master.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
bool IsMaster { get; set; }
|
2015-08-25 15:48:12 +02:00
|
|
|
|
|
2015-06-19 12:03:02 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the date and time the registration was created.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
DateTime Registered { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the date and time the registration was last accessed.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
DateTime Accessed { get; set; }
|
|
|
|
|
|
}
|
2017-07-20 11:21:28 +02:00
|
|
|
|
}
|