fix cancelid默认值

This commit is contained in:
2024-03-19 12:40:49 +08:00
parent ee0ee9b167
commit 85220f87b8
2 changed files with 4 additions and 2 deletions

View File

@@ -50,7 +50,8 @@ public class DeviceTaskEntity : SugarBaseEntity, ITenantId, IVersion
/// <summary>
/// 取消id
/// </summary>
public long CancellationId { get; set; }
[SugarColumn(DefaultValue = "0")]
public long CancellationId { get; set; } = 0;
public string TenantId { get; set; }