feat 设备和设备组功能属性

This commit is contained in:
cheche
2024-01-30 17:31:12 +08:00
parent 0b02a95f66
commit 4e88466bff
5 changed files with 50 additions and 3 deletions

View File

@@ -41,6 +41,12 @@ public class DeviceEntity : SugarBaseEntity, ITenantId
[SugarColumn(ColumnDataType = "varchar(150)", IsJson = true, ColumnDescription = "设备功能", DefaultValue = "[]")]
public List<DeviceFuncEnumType> Funcs { get; set; }
/// <summary>
/// 设备机功能类型
/// </summary>
[SugarColumn(ColumnDataType = "varchar(150)", ColumnDescription = "设备机功能类型")]
public DeviceGroupFunctionEnumType Type { get; set; }
/// <summary>
/// 部署点
/// </summary>