浏览代码

timelimit

dss 2 年之前
父节点
当前提交
ad6b499906
共有 1 个文件被更改,包括 12 次插入6 次删除
  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; }
 
-        [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; }
 
 
     }