From 6e9bd808e4c60ad0d2ec094440324b25f552b972 Mon Sep 17 00:00:00 2001 From: Denis Vieira <137417381+denisvieira-dev@users.noreply.github.com> Date: Fri, 30 Jun 2023 07:58:01 -0300 Subject: [PATCH 1/2] Update src/Nox.Types/Types/Year/TypeOptions/YearTypeOptions.cs Co-authored-by: Ricardo Rocha --- src/Nox.Types/Types/Year/TypeOptions/YearTypeOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nox.Types/Types/Year/TypeOptions/YearTypeOptions.cs b/src/Nox.Types/Types/Year/TypeOptions/YearTypeOptions.cs index b9c8d3c..cdc49ab 100644 --- a/src/Nox.Types/Types/Year/TypeOptions/YearTypeOptions.cs +++ b/src/Nox.Types/Types/Year/TypeOptions/YearTypeOptions.cs @@ -3,7 +3,7 @@ namespace Nox.Types; public class YearTypeOptions { - public static readonly ushort MinYearValue = 1900; + public static readonly ushort DefaultMinValue= 1900; public static readonly ushort MaxYearValue = 3000; public ushort MinValue { get; set; } = MinYearValue; public ushort MaxValue { get; set; } = MaxYearValue; From 1ec5cffe2025ed9893a57361692850f8933eb75c Mon Sep 17 00:00:00 2001 From: Denis Vieira dos Anjos Date: Fri, 30 Jun 2023 08:05:00 -0300 Subject: [PATCH 2/2] Name consistent --- src/Nox.Types/Types/Year/TypeOptions/YearTypeOptions.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Nox.Types/Types/Year/TypeOptions/YearTypeOptions.cs b/src/Nox.Types/Types/Year/TypeOptions/YearTypeOptions.cs index cdc49ab..0127ee8 100644 --- a/src/Nox.Types/Types/Year/TypeOptions/YearTypeOptions.cs +++ b/src/Nox.Types/Types/Year/TypeOptions/YearTypeOptions.cs @@ -4,8 +4,8 @@ namespace Nox.Types; public class YearTypeOptions { public static readonly ushort DefaultMinValue= 1900; - public static readonly ushort MaxYearValue = 3000; - public ushort MinValue { get; set; } = MinYearValue; - public ushort MaxValue { get; set; } = MaxYearValue; + public static readonly ushort DefaultMaxValue = 3000; + public ushort MinValue { get; set; } = DefaultMinValue; + public ushort MaxValue { get; set; } = DefaultMaxValue; public bool AllowFutureOnly { get; set; } = false; }