hrms-api-backend/BMA.EHR.Retirement.Service/Requests/NodeAllRequest.cs
2025-02-05 17:48:58 +07:00

29 lines
No EOL
981 B
C#

using BMA.EHR.Domain.Models.MetaData;
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Retirement.Service.Requests
{
public class NodeAllRequest
{
public NodeAllResult result { get; set; } = new();
}
public class NodeAllResult
{
public List<NodeAllRequestData> isRootTrue { get; set; } = new();
public List<NodeAllRequestData> isRootFalse { get; set; } = new();
}
public class NodeAllRequestData
{
public string? name { get; set; }
public string? rootId { get; set; }
public string? rootDnaId { get; set; }
public string? child1Id { get; set; }
public string? child1DnaId { get; set; }
public string? child2Id { get; set; }
public string? child2DnaId { get; set; }
public string? child3Id { get; set; }
public string? child3DnaId { get; set; }
public string? child4Id { get; set; }
public string? child4DnaId { get; set; }
}
}