fix 添加设备类型和使用场景字段

This commit is contained in:
cheche
2024-01-12 10:05:44 +08:00
parent 9a5d9ecd4f
commit 8158951574

View File

@@ -96,5 +96,17 @@ public class DeviceEntity : SugarBaseEntity, ITenantId
[SugarColumn(ColumnDataType = "bit", ColumnDescription = "是否启用")]
public bool Enable { get; set; }
/// <summary>
/// 设备类型
/// </summary>
[SugarColumn(ColumnDescription = "设备类型")]
public string DeviceType { get; set; }
/// <summary>
/// 使用场景
/// </summary>
[SugarColumn(ColumnDescription = "使用场景")]
public string Scenes { get; set; }
public string TenantId { get; set; }
}