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; }
}
