changed classes to records
This commit is contained in:
@@ -2,17 +2,17 @@
|
||||
|
||||
namespace Core.Models.Spt.Config;
|
||||
|
||||
public class BaseConfig
|
||||
public record BaseConfig
|
||||
{
|
||||
[JsonPropertyName("kind")]
|
||||
public string Kind { get; set; }
|
||||
}
|
||||
|
||||
public class RunIntervalValues
|
||||
public record RunIntervalValues
|
||||
{
|
||||
[JsonPropertyName("inRaid")]
|
||||
public int InRaid { get; set; }
|
||||
|
||||
[JsonPropertyName("outOfRaid")]
|
||||
public int OutOfRaid { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user