2024-10-01 18:19:19 +00:00
|
|
|
using System;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2024-10-01 20:21:50 +00:00
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2024-10-01 18:19:19 +00:00
|
|
|
|
|
|
|
namespace StarsAssistant.Model;
|
|
|
|
|
|
|
|
public class Fleet
|
2024-10-01 20:21:50 +00:00
|
|
|
{
|
|
|
|
[Key]
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
2024-10-01 18:19:19 +00:00
|
|
|
#region Persistant propeties (from Stars)
|
|
|
|
|
|
|
|
public string FleetName { get; set; } = String.Empty;
|
|
|
|
|
|
|
|
public int X { get; set; }
|
|
|
|
|
|
|
|
public int Y { get; set; }
|
|
|
|
|
|
|
|
public string Planet { get; set; } = String.Empty;
|
|
|
|
|
|
|
|
public string Destination { get; set; } = String.Empty;
|
|
|
|
|
|
|
|
public string BattlePlan { get; set; } = String.Empty;
|
|
|
|
|
|
|
|
public int ShipCount { get; set; }
|
|
|
|
|
|
|
|
public int Ironium { get; set; }
|
|
|
|
|
|
|
|
public int Boranium { get; set; }
|
|
|
|
|
|
|
|
public int Germanium { get; set; }
|
|
|
|
|
|
|
|
public int Colonists { get; set; }
|
|
|
|
|
|
|
|
public int Fuel { get; set; }
|
|
|
|
|
2024-10-01 20:21:50 +00:00
|
|
|
public string OwnerId { get; set; } = String.Empty;
|
|
|
|
|
|
|
|
public int OwnerFileId { get; set; }
|
2024-10-01 18:19:19 +00:00
|
|
|
|
|
|
|
public int ETA { get; set; }
|
|
|
|
|
|
|
|
public int Warp { get; set; }
|
|
|
|
|
|
|
|
public int Mass { get; set; }
|
|
|
|
|
|
|
|
public int Cloak { get; set; }
|
|
|
|
|
|
|
|
public int Scan { get; set; }
|
|
|
|
|
|
|
|
public int PenScan { get; set; }
|
|
|
|
|
|
|
|
public string Task { get; set; } = String.Empty;
|
|
|
|
|
|
|
|
public int Mining { get; set; }
|
|
|
|
|
|
|
|
public int Sweep { get; set; }
|
|
|
|
|
|
|
|
public int Laying { get; set; }
|
|
|
|
|
|
|
|
public int Terraforming { get; set; }
|
|
|
|
|
|
|
|
public int Unarmed { get; set; }
|
|
|
|
|
|
|
|
public int Scout { get; set; }
|
|
|
|
|
|
|
|
public int Warship { get; set; }
|
|
|
|
|
|
|
|
public int Utility { get; set; }
|
|
|
|
|
|
|
|
public int Bomber { get; set; }
|
|
|
|
|
|
|
|
#endregion
|
2024-10-01 20:21:50 +00:00
|
|
|
|
|
|
|
#region Relationships
|
|
|
|
|
|
|
|
public Race? Owner { get; set; }
|
|
|
|
|
|
|
|
#endregion
|
2024-10-01 18:19:19 +00:00
|
|
|
}
|