36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace YD_YiLu.Commons.Dto.DeviceSync
|
|
{
|
|
/// <summary>
|
|
/// 组织信息下发请求
|
|
/// </summary>
|
|
public class DeviceSyncOrganizationRequestDto
|
|
{
|
|
public string DeviceSerial { get; set; }
|
|
public int DeviceType { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 组织信息(树形)
|
|
/// </summary>
|
|
public class DeviceSyncOrganizationDto
|
|
{
|
|
public int OrganizationId { get; set; }
|
|
public int ParentId { get; set; }
|
|
public string ParentName { get; set; }
|
|
public string OrganizationName { get; set; }
|
|
public List<ClassSumDto> ClassSum { get; set; }
|
|
public List<DeviceSyncOrganizationDto> Children { get; set; } = new List<DeviceSyncOrganizationDto>();
|
|
public List<int> ChildrenIds { get; set; } = new List<int>();
|
|
public string OrganizationType { get; set; }
|
|
}
|
|
|
|
public class ClassSumDto
|
|
{
|
|
public int CourseId { get; set; }
|
|
public string TotalPoints { get; set; }
|
|
public int TotalNumber { get; set; }
|
|
}
|
|
}
|