qinchaoyue 4 days ago
parent
commit
07b6172c19
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Hotline/Snapshot/CitizenRelationSafetyType.cs

+ 2 - 2
src/Hotline/Snapshot/CitizenRelationSafetyType.cs

@@ -14,13 +14,13 @@ public class CitizenRelationSafetyType : ITable, IEntity
     /// 市民Id
     /// <inheritdoc cref="Hotline.Orders.Citizen"/>
     /// </summary>
-    [SugarColumn(ColumnDescription = "市民Id", IsPrimaryKey = true)]
+    [SugarColumn(ColumnDescription = "市民Id")]
     public string CitizenId { get; set; }
 
     /// <summary>
     /// 安全员类型Id
     /// <inheritdoc cref="SafetyType"/>
     /// </summary>
-    [SugarColumn(ColumnDescription = "安全员类型Id", IsPrimaryKey = true)]
+    [SugarColumn(ColumnDescription = "安全员类型Id")]
     public string SafetyTypeId { get; set; }
 }