fix 优先级字段处理

This commit is contained in:
2024-04-15 16:57:57 +08:00
parent 03e51265be
commit 7982d5d9fd

View File

@@ -68,8 +68,8 @@ public class DeviceTaskEntity : SugarBaseEntity, ITenantId, IVersion
/// <summary>
/// 优先级
/// </summary>
[SugarColumn(DefaultValue = "0")]
public int Priority { get; set; } = 0;
[SugarColumn(IsNullable = true, DefaultValue = "0")]
public int Priority { get; set; } = 0;
public string TenantId { get; set; }