mirror of
https://github.com/azaion/missions.git
synced 2026-06-21 14:41:06 +00:00
2840ccb9b6
ci/woodpecker/push/build-arm Pipeline was successful
This commit transitions the project from Azaion.Flights to Azaion.Missions, updating namespaces, DTOs, services, and database entities accordingly. The Docker configuration and entry points have been modified to reflect the new project structure. Additionally, the README and documentation have been updated to clarify the ongoing renaming process and its implications. All references to flights have been replaced with missions, ensuring consistency across the codebase.
40 lines
897 B
C#
40 lines
897 B
C#
using LinqToDB.Mapping;
|
|
using Azaion.Missions.Enums;
|
|
|
|
namespace Azaion.Missions.Database.Entities;
|
|
|
|
[Table("waypoints")]
|
|
public class Waypoint
|
|
{
|
|
[PrimaryKey]
|
|
[Column("id")]
|
|
public Guid Id { get; set; }
|
|
|
|
[Column("mission_id")]
|
|
public Guid MissionId { get; set; }
|
|
|
|
[Column("lat")]
|
|
public decimal? Lat { get; set; }
|
|
|
|
[Column("lon")]
|
|
public decimal? Lon { get; set; }
|
|
|
|
[Column("mgrs")]
|
|
public string? Mgrs { get; set; }
|
|
|
|
[Column("waypoint_source")]
|
|
public WaypointSource WaypointSource { get; set; }
|
|
|
|
[Column("waypoint_objective")]
|
|
public WaypointObjective WaypointObjective { get; set; }
|
|
|
|
[Column("order_num")]
|
|
public int OrderNum { get; set; }
|
|
|
|
[Column("height")]
|
|
public decimal Height { get; set; }
|
|
|
|
[Association(ThisKey = nameof(MissionId), OtherKey = nameof(Mission.Id))]
|
|
public Mission? Mission { get; set; }
|
|
}
|