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