添加长度设定
This commit is contained in:
parent
094447258f
commit
3767a98dde
|
@ -11,7 +11,8 @@ namespace CalendarNotepad.Models
|
|||
/// 数据主键
|
||||
/// </summary>
|
||||
[Key]
|
||||
public string Id { get; set; } = Guid.NewGuid().ToString();
|
||||
[SqlSugar.SugarColumn(Length = 32)]
|
||||
public string Id { get; set; } = Guid.NewGuid().ToString("N");
|
||||
/// <summary>
|
||||
/// 记录创建或最后修改时间
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue
Block a user