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