You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dice_app/Sources/Data/EF/Games/TurnEntity.cs

19 lines
593 B

using Data.EF.Dice;
using Data.EF.Dice.Faces;
using Data.EF.Joins;
using Data.EF.Players;
namespace Data.EF.Games
{
public class TurnEntity
{
public Guid ID { get; set; }
public DateTime When { get; set; }
public PlayerEntity Player { get; set; }
public Guid PlayerEntityID { get; set; }
public ICollection<DieEntity> Dice { get; set; } // many to many
public List<DieTurn> DieTurns { get; set; }
public ICollection<FaceEntity> Faces { get; set; } // many to many
public List<FaceTurn> FaceTurns { get; set; }
}
}