mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-19 16:31:21 +00:00
29 lines
573 B
C#
29 lines
573 B
C#
|
using System;
|
|||
|
|
|||
|
namespace FSO.Server.Database.DA.Hosts
|
|||
|
{
|
|||
|
public class DbHost
|
|||
|
{
|
|||
|
public string call_sign { get; set; }
|
|||
|
public DbHostRole role { get; set; }
|
|||
|
public DbHostStatus status { get; set; }
|
|||
|
public string internal_host { get; set; }
|
|||
|
public string public_host { get; set; }
|
|||
|
public DateTime time_boot { get; set; }
|
|||
|
public int? shard_id { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public enum DbHostRole
|
|||
|
{
|
|||
|
city,
|
|||
|
lot,
|
|||
|
task
|
|||
|
}
|
|||
|
|
|||
|
public enum DbHostStatus
|
|||
|
{
|
|||
|
up,
|
|||
|
down
|
|||
|
}
|
|||
|
}
|