Rename directories and projects

This commit is contained in:
Sébastien André
2021-03-12 18:01:15 +01:00
parent 9341bb284e
commit a477b43f57
53 changed files with 1588 additions and 18 deletions

View File

@@ -0,0 +1,11 @@
namespace skydiveLogs_api.Domain
{
public class Aircraft
{
public int Id { get; set; }
public string Name { get; set; }
public string ImageData { get; set; }
}
}

View File

@@ -0,0 +1,7 @@
namespace skydiveLogs_api.Domain
{
public class DatabaseOptions
{
public string ConnectionString { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
using System.Collections.Generic;
namespace skydiveLogs_api.Domain
{
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; }
public bool IsFavorite { get; set; }
}
}

View File

@@ -0,0 +1,23 @@
namespace skydiveLogs_api.Domain
{
public class Gear
{
public int Id { get; set; }
public string Name { 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; }
public User User { get; set; }
}
}

View File

@@ -0,0 +1,29 @@
using System;
namespace skydiveLogs_api.Domain
{
public class Jump
{
public int Id { get; set; }
public JumpType JumpType { get; set; }
public Aircraft Aircraft { get; set; }
public DropZone DropZone { get; set; }
public Gear Gear { get; set; }
public User User { get; set; }
public int ExitAltitude { get; set; }
public int DeployAltitude { get; set; }
public bool WithCutaway { get; set; }
public string Notes { get; set; }
public DateTime JumpDate { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace skydiveLogs_api.Domain
{
public class JumpType
{
public int Id { get; set; }
public string Name { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
namespace skydiveLogs_api.Domain
{
public class SimpleSummary
{
public int TotalJumps { get; set; }
public int TotalCutaways { get; set; }
public Jump LastJump { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace skydiveLogs_api.Domain
{
public class Statistic
{
public string Label { get; set; }
public int Nb { get; set; }
}
}

View File

@@ -0,0 +1,17 @@
namespace skydiveLogs_api.Domain
{
public class User
{
public int Id { get; set; }
public string Email { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Login { get; set; }
public string Password { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
namespace skydiveLogs_api.Domain
{
public class UserImage
{
public int Id { get; set; }
public string Comment { get; set; }
public string Data { get; set; }
public User User { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>skydiveLogs_api.Domain</RootNamespace>
</PropertyGroup>
</Project>