more db progress
This commit is contained in:
@@ -5,8 +5,13 @@ namespace Core.Models.Spt.Bots;
|
||||
|
||||
public class Bots
|
||||
{
|
||||
public Dictionary<string, BotType> types { get; }
|
||||
|
||||
[JsonPropertyName("types")]
|
||||
public Dictionary<string, BotType> Types { get; set; }
|
||||
|
||||
[JsonPropertyName("base")]
|
||||
public BotBase Base { get; }
|
||||
public BotCore core { get; }
|
||||
public BotBase Base { get; set; }
|
||||
|
||||
[JsonPropertyName("core")]
|
||||
public Dictionary<string, object> Core { get; set; }
|
||||
}
|
||||
@@ -78,7 +78,7 @@ public class EventQuestData
|
||||
public long StartTimestamp { get; set; }
|
||||
|
||||
[JsonPropertyName("endTimestamp")]
|
||||
[JsonConverter(typeof(NullableObjectToLongConverter))]
|
||||
[JsonConverter(typeof(StringToNumberFactoryConverter))]
|
||||
public long? EndTimestamp { get; set; }
|
||||
|
||||
[JsonPropertyName("yearly")]
|
||||
|
||||
@@ -32,19 +32,19 @@ public class SeasonDateTimes
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonPropertyName("startDay")]
|
||||
[JsonConverter(typeof(NotNullObjectToIntConverter))]
|
||||
[JsonConverter(typeof(StringToNumberFactoryConverter))]
|
||||
public int StartDay { get; set; }
|
||||
|
||||
[JsonPropertyName("startMonth")]
|
||||
[JsonConverter(typeof(NotNullObjectToIntConverter))]
|
||||
[JsonConverter(typeof(StringToNumberFactoryConverter))]
|
||||
public int StartMonth { get; set; }
|
||||
|
||||
[JsonPropertyName("endDay")]
|
||||
[JsonConverter(typeof(NotNullObjectToIntConverter))]
|
||||
[JsonConverter(typeof(StringToNumberFactoryConverter))]
|
||||
public int EndDay { get; set; }
|
||||
|
||||
[JsonPropertyName("endMonth")]
|
||||
[JsonConverter(typeof(NotNullObjectToIntConverter))]
|
||||
[JsonConverter(typeof(StringToNumberFactoryConverter))]
|
||||
public int EndMonth { get; set; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user