Establishes a link between DbUserProfile and DbApplicationUser, allowing for better management of user-related information and integration with ASP.NET Identity. Renames DbUser to DbUserProfile and updates related entities and configurations.
14 lines
No EOL
327 B
C#
14 lines
No EOL
327 B
C#
namespace DrinkRateAPI.DbEntities;
|
|
|
|
public class DbProductRating
|
|
{
|
|
public Guid UserProfileId { get; set; }
|
|
public DbUserProfile UserProfile { get; set; }
|
|
|
|
public Guid ProductId { get; set; }
|
|
public DbProduct Product { get; set; }
|
|
|
|
public byte Rating { get; set; }
|
|
|
|
public string? Comment { get; set; }
|
|
} |