hrms-api-backend/BMA.EHR.Placement.Service/Requests/NodeAllRequest.cs

29 lines
980 B
C#
Raw Permalink Normal View History

2025-01-16 17:06:23 +07:00
using BMA.EHR.Domain.Models.MetaData;
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Placement.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; }
2025-02-05 17:48:58 +07:00
public string? rootDnaId { get; set; }
2025-01-16 17:06:23 +07:00
public string? child1Id { get; set; }
2025-02-05 17:48:58 +07:00
public string? child1DnaId { get; set; }
2025-01-16 17:06:23 +07:00
public string? child2Id { get; set; }
2025-02-05 17:48:58 +07:00
public string? child2DnaId { get; set; }
2025-01-16 17:06:23 +07:00
public string? child3Id { get; set; }
2025-02-05 17:48:58 +07:00
public string? child3DnaId { get; set; }
2025-01-16 17:06:23 +07:00
public string? child4Id { get; set; }
2025-02-05 17:48:58 +07:00
public string? child4DnaId { get; set; }
2025-01-16 17:06:23 +07:00
}
}