fix 设备方向,代码格式化

This commit is contained in:
2024-05-21 17:09:54 +08:00
parent 74cb452032
commit af6ef69091
9 changed files with 94 additions and 56 deletions

View File

@@ -65,6 +65,12 @@ public class DeviceTaskEntity : SugarBaseEntity, ITenantId, IVersion
[SugarColumn(DefaultValue = "0")]
public long CancellationId { get; set; } = 0;
/// <summary>
/// 任务来源
/// </summary>
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
public DeviceTaskSourceEnumType? Source { get; set; }
/// <summary>
/// 优先级
/// </summary>
@@ -73,4 +79,4 @@ public class DeviceTaskEntity : SugarBaseEntity, ITenantId, IVersion
public string TenantId { get; set; }
}
}