refactoring, enhancements, and some fixes

This commit is contained in:
Shaun Walker
2021-06-10 08:16:02 -04:00
parent 82c05a841f
commit bc720555c4
30 changed files with 436 additions and 244 deletions

View File

@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Oqtane.Models
@ -43,18 +42,6 @@ namespace Oqtane.Models
/// <inheritdoc />
public DateTime ModifiedOn { get; set; }
/// <summary>
/// todoc - unclear what this is for
/// </summary>
[NotMapped]
public DateTime SyncDate { get; set; }
/// <summary>
/// todoc - unclear what this is for
/// </summary>
[NotMapped]
public List<SyncEvent> SyncEvents { get; set; }
/// <summary>
/// The path contains the url-part after the first slash.
/// * If the Name is `oqtane.me` the Path is empty

View File

@ -16,5 +16,10 @@ namespace Oqtane.Models
/// Message or error in case something failed.
/// </summary>
public string Message { get; set; }
/// <summary>
/// current alias value from server
/// </summary>
public Alias Alias { get; set; }
}
}

View File

@ -1,7 +1,14 @@
using System;
using System;
using System.Collections.Generic;
namespace Oqtane.Models
{
public class Sync
{
public DateTime SyncDate { get; set; }
public List<SyncEvent> SyncEvents { get; set; }
}
public class SyncEvent
{
public int TenantId { get; set; }