mirror of
https://github.com/azaion/missions.git
synced 2026-06-21 05:21:07 +00:00
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:
@@ -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; }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user