drinkrate/DrinkRateAPI/DbEntities/DbCompanyTable.cs
martinshoob b7677bc139 Create product-company table coupling, fix one-to-one relationship
Introduce a new entity to couple product and company tables.
2025-08-11 21:03:28 +02:00

12 lines
No EOL
267 B
C#

namespace DrinkRateAPI.DbEntities;
public class DbCompanyTable
{
public Guid Id { get; set; }
public ICollection<DbCompany> Companies { get; set; }
public string CompanyTableName { get; set; }
public DbProductTable ProductTable { get; set; }
}