zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Application/Models/Devices/DeviceGroupGetResponseModel.cs

39 lines
907 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
using System.Diagnostics.CodeAnalysis;
namespace ZeroFramework.DeviceCenter.Application.Models.Devices
{
public class DeviceGroupGetResponseModel
{
/// <summary>
/// 分组编号
/// </summary>
public int Id { get; set; }
/// <summary>
/// 分组名称
/// </summary>
[AllowNull]
public string Name { get; set; }
/// <summary>
/// 备注描述
/// </summary>
public string? Remark { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTimeOffset CreationTime { get; set; }
/// <summary>
/// 父组编号
/// </summary>
public int? ParentId { get; set; }
/// <summary>
/// 子组列表
/// </summary>
public List<DeviceGroupGetResponseModel>? Children { get; set; }
}
}