Dun.Jason преди 1 година
родител
ревизия
3085054309
променени са 3 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      src/Hotline.Api/config/appsettings.Development.json
  2. 1 1
      src/Hotline.Share/Dtos/Order/PublishedDto.cs
  3. 1 1
      src/Hotline/Orders/OrderPublish.cs

+ 1 - 1
src/Hotline.Api/config/appsettings.Development.json

@@ -60,7 +60,7 @@
     }
   },
   "DatabaseConfiguration": {
-    "ApplyDbMigrations": false,
+    "ApplyDbMigrations": true,
     "ApplySeed": false
   },
   "MqConfiguration": {

+ 1 - 1
src/Hotline.Share/Dtos/Order/PublishedDto.cs

@@ -251,7 +251,7 @@ public class PublishOrderDto
     /// <summary>
     /// 备注
     /// </summary>
-    public string Remark { get; set; }
+    public string? Remark { get; set; }
 
     #endregion
 }

+ 1 - 1
src/Hotline/Orders/OrderPublish.cs

@@ -91,6 +91,6 @@ public class OrderPublish : FullStateEntity
     /// <summary>
     /// 备注
     /// </summary>
-    public string Remark { get; set; }
+    public string? Remark { get; set; }
     #endregion
 }