Rename directories and projects
This commit is contained in:
11
Back/skydiveLogs-api.Domain/Aircraft.cs
Normal file
11
Back/skydiveLogs-api.Domain/Aircraft.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
7
Back/skydiveLogs-api.Domain/DatabaseOptions.cs
Normal file
7
Back/skydiveLogs-api.Domain/DatabaseOptions.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace skydiveLogs_api.Domain
|
||||
{
|
||||
public class DatabaseOptions
|
||||
{
|
||||
public string ConnectionString { get; set; }
|
||||
}
|
||||
}
|
||||
25
Back/skydiveLogs-api.Domain/DropZone.cs
Normal file
25
Back/skydiveLogs-api.Domain/DropZone.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
23
Back/skydiveLogs-api.Domain/Gear.cs
Normal file
23
Back/skydiveLogs-api.Domain/Gear.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
29
Back/skydiveLogs-api.Domain/Jump.cs
Normal file
29
Back/skydiveLogs-api.Domain/Jump.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
9
Back/skydiveLogs-api.Domain/JumpType.cs
Normal file
9
Back/skydiveLogs-api.Domain/JumpType.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace skydiveLogs_api.Domain
|
||||
{
|
||||
public class JumpType
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
11
Back/skydiveLogs-api.Domain/SimpleSummary.cs
Normal file
11
Back/skydiveLogs-api.Domain/SimpleSummary.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
9
Back/skydiveLogs-api.Domain/Statistic.cs
Normal file
9
Back/skydiveLogs-api.Domain/Statistic.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace skydiveLogs_api.Domain
|
||||
{
|
||||
public class Statistic
|
||||
{
|
||||
public string Label { get; set; }
|
||||
|
||||
public int Nb { get; set; }
|
||||
}
|
||||
}
|
||||
17
Back/skydiveLogs-api.Domain/User.cs
Normal file
17
Back/skydiveLogs-api.Domain/User.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
Back/skydiveLogs-api.Domain/UserImage.cs
Normal file
13
Back/skydiveLogs-api.Domain/UserImage.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<RootNamespace>skydiveLogs_api.Domain</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user