Implementation of repositories and return infos
This commit is contained in:
@@ -6,5 +6,8 @@ namespace skydiveLogs_api.Model
|
||||
{
|
||||
public class Aircraft
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Model
|
||||
{
|
||||
public class DropZone
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Latitude { get; set; }
|
||||
|
||||
public string Longitude { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Address { get; set; }
|
||||
|
||||
public string Website { get; set; }
|
||||
|
||||
public string Email { get; set; }
|
||||
|
||||
public IEnumerable<string> Type { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,5 +6,20 @@ namespace skydiveLogs_api.Model
|
||||
{
|
||||
public class Gear
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Mame { get; set; }
|
||||
|
||||
public string Manufacturer { get; set; }
|
||||
|
||||
public int MinSize { get; set; }
|
||||
|
||||
public int MaxSize { get; set; }
|
||||
|
||||
public string Aad { get; set; }
|
||||
|
||||
public string MainCanopy { get; set; }
|
||||
|
||||
public string ReserveCanopy { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,5 +6,22 @@ namespace skydiveLogs_api.Model
|
||||
{
|
||||
public class Jump
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public int JumpTypeId { get; set; }
|
||||
|
||||
public int AircraftId { get; set; }
|
||||
|
||||
public int DropZoneId { get; set; }
|
||||
|
||||
public int GearId { get; set; }
|
||||
|
||||
public int ExitAltitude { get; set; }
|
||||
|
||||
public int DeployAltitude { get; set; }
|
||||
|
||||
public bool WithCutaway { get; set; }
|
||||
|
||||
public string Notes { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,5 +6,8 @@ namespace skydiveLogs_api.Model
|
||||
{
|
||||
public class JumpType
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user