using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Yavsc.Models.Access { public class BlackListed: IBlackListed { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public long Id { get; set; } public string UserId { get; set; } public string OwnerId { get; set; } [ForeignKey("OwnerId")] public virtual ApplicationUser Owner { get; set; } } }