namespace DrinkRateAPI.DbEntities;

public class DbProduct
{
    public Guid Id { get; set; }

    public Guid ProductTableId { get; set; }
    public DbProductTable ProductTable { get; set; }

    public Guid CompanyId { get; set; }
    public DbCompany Company { get; set; }

    public ICollection<DbProductRating> ProductRatings { get; set; }

    public string ProductName { get; set; }

    public long RatingSum { get; set; }

    public long RatingCount { get; set; }
}