2016-05-17 18:22:18 +02:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2016-05-30 13:54:52 +02:00
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
using Yavsc.Models;
|
2016-05-17 18:22:18 +02:00
|
|
|
|
|
|
|
|
|
|
public class GoogleCloudMobileDeclaration {
|
|
|
|
|
|
|
2016-07-03 23:57:33 +02:00
|
|
|
|
public string GCMRegistrationId { get; set; }
|
2016-05-30 13:54:52 +02:00
|
|
|
|
|
|
|
|
|
|
public string DeviceOwnerId { get; set; }
|
2016-07-03 23:57:33 +02:00
|
|
|
|
|
|
|
|
|
|
[Key]
|
|
|
|
|
|
public string DeviceId { get; set; }
|
2016-05-30 13:54:52 +02:00
|
|
|
|
|
2016-07-03 23:57:33 +02:00
|
|
|
|
public string Model { get; set; }
|
|
|
|
|
|
public string Platform { get; set; }
|
|
|
|
|
|
public string Version { get; set; }
|
2016-05-31 14:44:07 +02:00
|
|
|
|
|
2016-05-30 13:54:52 +02:00
|
|
|
|
[ForeignKeyAttribute("DeviceOwnerId")]
|
|
|
|
|
|
public virtual ApplicationUser DeviceOwner { get; set; }
|
2016-05-17 18:22:18 +02:00
|
|
|
|
}
|