22 lines
670 B
C#
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; }
|
|
} |