Browse Source

timelimit

dss 2 years ago
parent
commit
ad6b499906
1 changed files with 12 additions and 6 deletions
  1. 12 6
      src/Hotline/Orders/TimeLimit.cs

+ 12 - 6
src/Hotline/Orders/TimeLimit.cs

@@ -15,14 +15,20 @@ namespace Hotline.Orders
 
 
         public ETimeLimitState TimeLimitState { get; set; }
         public ETimeLimitState TimeLimitState { get; set; }
 
 
-        [SugarColumn(ColumnDataType = "longtext", IsJson = true)]
-        public List<ParamTypeModel> ParamArr { get; set; }
+        [SugarColumn(ColumnDataType = "longtext", IsJson = true,IsNullable = true)]
+        public List<ParamTypeModel>? ParamArr { get; set; }
 
 
-        [SugarColumn(ColumnDataType = "longtext", IsJson = true)]
-        public List<PriorityModel> Priority { get; set; }
+        /// <summary>
+        /// 排序
+        /// </summary>
+        [SugarColumn(ColumnDataType = "longtext", IsJson = true,IsNullable = true)]
+        public List<PriorityModel>? Priority { get; set; }
 
 
-        [SugarColumn(ColumnDataType = "longtext", IsJson = true)]
-        public List<CombinationModel> Combination { get; set; }
+        /// <summary>
+        /// 组合
+        /// </summary>
+        [SugarColumn(ColumnDataType = "longtext", IsJson = true,IsNullable = true)]
+        public List<CombinationModel>? Combination { get; set; }
 
 
 
 
     }
     }