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.
27 lines
661 B
C#
27 lines
661 B
C#
using LinqToDB.Mapping;
|
|
|
|
namespace Azaion.Missions.Database.Entities;
|
|
|
|
[Table("missions")]
|
|
public class Mission
|
|
{
|
|
[PrimaryKey]
|
|
[Column("id")]
|
|
public Guid Id { get; set; }
|
|
|
|
[Column("created_date")]
|
|
public DateTime CreatedDate { get; set; }
|
|
|
|
[Column("name")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[Column("vehicle_id")]
|
|
public Guid VehicleId { get; set; }
|
|
|
|
[Association(ThisKey = nameof(VehicleId), OtherKey = nameof(Vehicle.Id))]
|
|
public Vehicle? Vehicle { get; set; }
|
|
|
|
[Association(ThisKey = nameof(Id), OtherKey = nameof(Waypoint.MissionId))]
|
|
public List<Waypoint> Waypoints { get; set; } = [];
|
|
}
|