refactoring & Activities update

This commit is contained in:
Paul Schneider 2017-02-07 15:04:58 +01:00
commit 28c53cc2ee
19 changed files with 5740 additions and 114 deletions

View file

@ -5,7 +5,13 @@ using Newtonsoft.Json;
namespace Yavsc.Models.Identity
{
[JsonObject]
using YavscLib;
[JsonObject]
public class GivenGoogleCloudMobileDeclaration : GoogleCloudMobileDeclaration, IGCMDeclaration {
public DateTime? LatestActivityUpdate { get; set; }
}
public class GoogleCloudMobileDeclaration {
@ -22,8 +28,8 @@ namespace Yavsc.Models.Identity
public DateTime DeclarationDate { get; set; }
[JsonIgnore,ForeignKey("DeviceOwnerId")]
public virtual ApplicationUser DeviceOwner { get; set; }
public DateTime LatestActivityUpdate { get; set; }
}
}