dropping GCM support

This commit is contained in:
Paul Schneider 2019-05-08 01:35:10 +01:00
commit df9ff16c5c
36 changed files with 6228 additions and 149 deletions

View file

@ -4,7 +4,7 @@ using Newtonsoft.Json;
namespace Yavsc.Models.Relationship
{
public class Contact
public class Contact: IContact
{
[Required()]
public string UserId { get; set; }
@ -15,7 +15,10 @@ namespace Yavsc.Models.Relationship
public string Name { get; set; }
public string EMail { get; set; }
public PostalAddress PostalAddress { get; set; }
public long AddressId { get ; set; }
[ForeignKey("AddressId")]
public virtual PostalAddress PostalAddress { get; set; }
[ForeignKeyAttribute("OwnerId"),NotMapped]