From 690feef0664b5d44a20be80c32ea9e9ee9e7043a Mon Sep 17 00:00:00 2001 From: Falcon <12919280+falconfly@user.noreply.gitee.com> Date: Thu, 20 Feb 2025 09:39:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TimedBackgroundTask/CronExpression.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Falcon.SugarApi/TimedBackgroundTask/CronExpression.cs b/Falcon.SugarApi/TimedBackgroundTask/CronExpression.cs index aa0f2e1..b60680b 100644 --- a/Falcon.SugarApi/TimedBackgroundTask/CronExpression.cs +++ b/Falcon.SugarApi/TimedBackgroundTask/CronExpression.cs @@ -12,31 +12,31 @@ public class CronExpression /// <summary> /// 可选的秒范围枚举 /// </summary> - public List<int> Seconds { get; } + private List<int> Seconds { get; } /// <summary> /// 可选的分范围枚举 /// </summary> - public List<int> Minutes { get; } + private List<int> Minutes { get; } /// <summary> /// 可选的时范围枚举 /// </summary> - public List<int> Hours { get; } + private List<int> Hours { get; } /// <summary> /// 可选的天范围枚举 /// </summary> - public List<int> DaysOfMonth { get; } + private List<int> DaysOfMonth { get; } /// <summary> /// 可选的月范围枚举 /// </summary> - public List<int> Months { get; } + private List<int> Months { get; } /// <summary> /// 可选的星期范围枚举 /// </summary> - public List<int> DaysOfWeek { get; } + private List<int> DaysOfWeek { get; } /// <summary> /// 可选的年范围枚举 /// </summary> - public List<int> Years { get; set; } + private List<int> Years { get; set; } /// <summary> /// 通过提供cron表达式构造对象