Kevin Matsubara 278064b19b Remove Team ID from Team model.
This is done to create a proper change to let Id now be the Primary Key.
2025-04-06 20:10:36 +02:00

9 lines
249 B
C#

namespace EntityFrameworkCore.Domain;
// Since C#11, you do not need to wrap in accolades anymore.
public class Team : BaseDomainModel
{
public string? Name { get; set; }
public int LeagueId { get; set; }
public int CoachId { get; set; }
}