fix 优化任务,增加设备类型

This commit is contained in:
2024-04-09 22:46:30 +08:00
parent d5c6a98d4e
commit ce4a3409e9
5 changed files with 18 additions and 6 deletions

View File

@@ -18,6 +18,12 @@ public class DeviceTaskEntity : SugarBaseEntity, ITenantId, IVersion
[SugarColumn(ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
public DeviceTaskEnumType Type { get; set; }
/// <summary>
/// 设备类型
/// </summary>
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
public DeviceTypeEnumType? DeviceType { get; set; }
/// <summary>
/// 用户id
/// </summary>