automapper框架优化
This commit is contained in:
18
Model/Models/DeviceInfo.cs
Normal file
18
Model/Models/DeviceInfo.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace Model.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备信息纯数据类(对应 UIShare.UIViewModel.DeviceInfoModel)
|
||||
/// </summary>
|
||||
public class DeviceInfo
|
||||
{
|
||||
public string? DeviceName { get; set; }
|
||||
|
||||
public string? DeviceType { get; set; }
|
||||
|
||||
public string? Remark { get; set; }
|
||||
|
||||
public bool IsEnabled { get; set; }
|
||||
|
||||
public bool IsConnected { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user