Implementation of repositories and return infos

This commit is contained in:
Sébastien André
2019-09-26 15:31:17 +02:00
parent 4d6787af20
commit ed3f7c42c5
34 changed files with 1382 additions and 8 deletions

View File

@@ -6,5 +6,8 @@ namespace skydiveLogs_api.Model
{
public class Aircraft
{
public int Id { get; set; }
public string Name { get; set; }
}
}

View File

@@ -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; }
}
}

View File

@@ -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; }
}
}

View File

@@ -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; }
}
}

View File

@@ -6,5 +6,8 @@ namespace skydiveLogs_api.Model
{
public class JumpType
{
public int Id { get; set; }
public string Name { get; set; }
}
}