Files
adas-core/adas-core.Domain/Models/DTO/PocAndUnitDto.cs
T
2026-06-26 10:29:23 +02:00

22 lines
670 B
C#

using MongoDB.Bson;
namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object that encapsulates point of contact and unit information for transfer between application layers or systems.
/// </summary>
public class PocAndUnitDto
{
public List<MinimalPocAndUnitDto> PocList { get; set; } = [];
}
/// <summary>
/// Represents a minimal data transfer object encapsulating point of consumption and unit information.
/// </summary>
public class MinimalPocAndUnitDto
{
public string? PocName { get; set; }
public ObjectId PocId { get; set; }
public string? UnitName { get; set; }
public ObjectId UnitId { get; set; }
}