namespace DrinkRateAPI.DbEntities;

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

    public Guid CompanyTableId { get; set; }
    public DbCompanyTable CompanyTable { get; set; }

    public ICollection<DbProduct> Products { get; set; }

    public ICollection<DbCompanyRating> CompanyRatings { get; set; }

    public string CompanyName { get; set; }

    public long RatingSum { get; set; }

    public long RatingCount { get; set; }
}