IotEquipmentDto.cs
898 Bytes
namespace DataAcquisition.ViewModels.IOT
{
public class IotEquipmentDto
{
public string Code { get; set; } = null!;
public string Name { get; set; } = null!;
public string Type { get; set; } = null!;
public string EquipmentSN { get; set; } = null!;
/// <summary>
/// 属性集合
/// </summary>
public virtual List<EquipmentPropertyDto> EquipmentProperties { get; set; } = new List<EquipmentPropertyDto>();
public string WarehouseCode { get; set; } = null!;
public string Remark { get; set; } = null!;
}
public class EquipmentPropertyDto
{
public string Code { get; set; } = null!;
public string Name { get; set; } = null!;
public string Tag { get; set; } = null!;
public string? Value { get; set; }
public string? Remark { get; set; }
}
}