feat: implement missions and vehicles management with CRUD operations

Added new project structure for Azaion.Missions, including the MissionsController and VehiclesController for handling mission and vehicle management. Implemented DTOs for mission and vehicle creation and updates, along with service classes for business logic. Introduced database entities for Mission and Vehicle, and established relationships for data handling. Configured project dependencies and set up initial project properties.
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-05-15 04:35:40 +03:00
parent 78dea8ebab
commit 4f226e91d5
22 changed files with 0 additions and 58 deletions
-26
View File
@@ -1,26 +0,0 @@
using LinqToDB.Mapping;
namespace Azaion.Flights.Database.Entities;
[Table("gps_corrections")]
public class GpsCorrection
{
[PrimaryKey]
[Column("id")]
public Guid Id { get; set; }
[Column("flight_id")]
public Guid FlightId { get; set; }
[Column("waypoint_id")]
public Guid WaypointId { get; set; }
[Column("original_gps")]
public string OriginalGps { get; set; } = string.Empty;
[Column("corrected_gps")]
public string CorrectedGps { get; set; } = string.Empty;
[Column("applied_at")]
public DateTime AppliedAt { get; set; }
}
-32
View File
@@ -1,32 +0,0 @@
using LinqToDB.Mapping;
namespace Azaion.Flights.Database.Entities;
[Table("orthophotos")]
public class Orthophoto
{
[PrimaryKey]
[Column("id")]
public string Id { get; set; } = string.Empty;
[Column("flight_id")]
public Guid FlightId { get; set; }
[Column("name")]
public string Name { get; set; } = string.Empty;
[Column("path")]
public string Path { get; set; } = string.Empty;
[Column("lat")]
public decimal? Lat { get; set; }
[Column("lon")]
public decimal? Lon { get; set; }
[Column("mgrs")]
public string? Mgrs { get; set; }
[Column("uploaded_at")]
public DateTime UploadedAt { get; set; }
}