yavsc/Yavsc/src/Model/Identity/MobileAppDeclaration.cs

15 lines
386 B
C#
Raw Normal View History

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 {
[Key]
public string RegistrationId { get; set; }
2016-05-30 13:54:52 +02:00
public string DeviceOwnerId { get; set; }
[ForeignKeyAttribute("DeviceOwnerId")]
public virtual ApplicationUser DeviceOwner { get; set; }
2016-05-17 18:22:18 +02:00
}