WIP périfériques utilisateur

This commit is contained in:
Paul Schneider 2016-05-30 13:54:52 +02:00
commit 56ddfa03de
3 changed files with 22 additions and 7 deletions

View file

@ -1,13 +1,15 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Yavsc.Models;
public class GoogleCloudMobileDeclaration {
[Key]
public string RegistrationId { get; set; }
public string AuthToken { get; set; }
public string AuthType { get; set; }
public string DeviceOwnerId { get; set; }
[ForeignKeyAttribute("DeviceOwnerId")]
public virtual ApplicationUser DeviceOwner { get; set; }
}