id设为string

This commit is contained in:
2023-05-17 14:27:32 +08:00
parent 7f345b6d2b
commit 524acb7704
12 changed files with 18 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ namespace Tnb.EquipMgr.Entities
/// Nullable:False
/// </summary>
[SugarColumn(IsPrimaryKey=true)]
public long id {get;set;} = SnowflakeIdHelper.NextId();
public string id {get;set;} = SnowflakeIdHelper.NextId();
/// <summary>
/// Desc:TODO