using adas_core.Domain.Enums;
using MongoDB.Bson;

namespace adas_core.Domain.Models.DTO.Display;

/// <summary>
/// Represents a minimal data transfer object that encapsulates a subset of fields from a <see cref="MongoModels.Display"/> model for lightweight serialization or transfer.
/// </summary>
public class DisplayMinimalDto(MongoModels.Display display)
{
    public ObjectId Id { get; set; } = display.Id;
    public string Name { get; set; } = display.Name;

    public DisplayConfigEnums.DisplayType Type { get; set; } = display.Type;
}