Update the repository and model to have the join between the models

This commit is contained in:
Sébastien André
2019-11-20 17:43:30 +01:00
parent 51f7fc2b7d
commit 29740709c6
7 changed files with 46 additions and 15 deletions

View File

@@ -6,13 +6,21 @@ namespace skydiveLogs_api.Model
{
public int Id { get; set; }
public int JumpTypeId { get; set; }
//public int JumpTypeId { get; set; }
public int AircraftId { get; set; }
//public int AircraftId { get; set; }
public int DropZoneId { get; set; }
//public int DropZoneId { get; set; }
public int GearId { get; set; }
//public int GearId { get; set; }
public JumpType JumpType { get; set; }
public Aircraft Aircraft { get; set; }
public DropZone DropZone { get; set; }
public Gear Gear { get; set; }
public int ExitAltitude { get; set; }