fix 添加设备类型和使用场景字段
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user