namespace Yavsc.Models.Auth { using Microsoft.AspNetCore.Identity; using System.ComponentModel.DataAnnotations.Schema; public class YaIdentityUserLogin { /// /// Gets or sets the login provider for the login (e.g. facebook, google) /// public virtual string LoginProvider { get; set; } = default!; /// /// Gets or sets the unique provider identifier for this login. /// public virtual string ProviderKey { get; set; } = default!; /// /// Gets or sets the friendly name used in a UI for this login. /// public virtual string? ProviderDisplayName { get; set; } /// /// Gets or sets the primary key of the user associated with this login. /// public String UserId { get; set; } = default!; [ForeignKey("UserId")] public virtual ApplicationUser User { get; set; } } }