From ef7ab887b8fca4a7987892090cc0d4708e24ec60 Mon Sep 17 00:00:00 2001 From: rszn <645583145@qq.com> Date: Sun, 30 Jun 2024 23:32:56 +0800 Subject: [PATCH] =?UTF-8?q?insert=20=E4=B8=BA=E5=B8=A6=E5=87=BAentity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Entity/DbModel/Station/MoveBinRecord.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Entity/DbModel/Station/MoveBinRecord.cs b/Entity/DbModel/Station/MoveBinRecord.cs index efec7a3..550eb33 100644 --- a/Entity/DbModel/Station/MoveBinRecord.cs +++ b/Entity/DbModel/Station/MoveBinRecord.cs @@ -13,7 +13,7 @@ public class MoveBinRecord : BaseModel /// Default: /// Nullable:False /// - [SugarColumn(IsPrimaryKey = true, ColumnName = "id")] + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")] public int Id { get; set; } ///