39 lines
907 B
C#
39 lines
907 B
C#
|
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; }
|
|||
|
}
|
|||
|
}
|