fix 自增标识
This commit is contained in:
parent
f112d6a992
commit
23187ed8c5
@ -13,7 +13,7 @@ namespace ZR.Model.System
|
||||
/// 菜单ID
|
||||
/// </summary>
|
||||
//[Key]//非自动增长主键时使用ExplicitKey
|
||||
[SqlSugar.SugarColumn(IsPrimaryKey = true)]
|
||||
[SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public long menuId { get; set; }
|
||||
/// <summary>
|
||||
/// 菜单名称
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user