Update the repository and model to have the join between the models
This commit is contained in:
11
Back/skydiveLogs-api/DataContract/GearReq.cs
Normal file
11
Back/skydiveLogs-api/DataContract/GearReq.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace skydiveLogs_api.DataContract
|
||||
{
|
||||
public class GearReq
|
||||
{
|
||||
}
|
||||
}
|
||||
9
Back/skydiveLogs-api/DataContract/GearResp.cs
Normal file
9
Back/skydiveLogs-api/DataContract/GearResp.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace skydiveLogs_api.DataContract
|
||||
{
|
||||
public class GearResp
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -6,13 +6,13 @@ namespace skydiveLogs_api.DataContract
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public int JumpTypeId { get; set; }
|
||||
public JumpTypeResp JumpType { get; set; }
|
||||
|
||||
public int AircraftId { get; set; }
|
||||
public AircraftResp Aircraft { get; set; }
|
||||
|
||||
public int DropZoneId { get; set; }
|
||||
public DropZoneResp DropZone { get; set; }
|
||||
|
||||
public int GearId { get; set; }
|
||||
public GearResp Gear { get; set; }
|
||||
|
||||
public int ExitAltitude { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user