Files
SPT-Server-Build/Libraries/Core/Models/Common/MinMax.cs
T
2025-02-07 19:36:17 +00:00

38 lines
498 B
C#

using System.Text.Json.Serialization;
namespace Core.Models.Common;
public record MinMax
{
public MinMax(double min, double max)
{
Min = min;
Max = max;
}
public MinMax()
{
}
[JsonPropertyName("type")]
public string? Type
{
get;
set;
}
[JsonPropertyName("max")]
public double? Max
{
get;
set;
}
[JsonPropertyName("min")]
public double? Min
{
get;
set;
}
}