Initial commit

Made-with: Cursor
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-03-25 05:21:08 +02:00
commit 0625cd4157
90 changed files with 3430 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
using LinqToDB.Mapping;
using Azaion.Flights.Enums;
namespace Azaion.Flights.Database.Entities;
[Table("map_objects")]
public class MapObject
{
[PrimaryKey]
[Column("id")]
public Guid Id { get; set; }
[Column("flight_id")]
public Guid FlightId { get; set; }
[Column("h3_index")]
public string H3Index { get; set; } = string.Empty;
[Column("mgrs")]
public string Mgrs { get; set; } = string.Empty;
[Column("lat")]
public decimal? Lat { get; set; }
[Column("lon")]
public decimal? Lon { get; set; }
[Column("class_num")]
public int ClassNum { get; set; }
[Column("label")]
public string Label { get; set; } = string.Empty;
[Column("size_width_m")]
public decimal SizeWidthM { get; set; }
[Column("size_length_m")]
public decimal SizeLengthM { get; set; }
[Column("confidence")]
public decimal Confidence { get; set; }
[Column("object_status")]
public ObjectStatus ObjectStatus { get; set; }
[Column("first_seen_at")]
public DateTime FirstSeenAt { get; set; }
[Column("last_seen_at")]
public DateTime LastSeenAt { get; set; }
}