// Copyright © Selmo Technology GmbH. All Rights Reserved

using Novus.Shared.Dto;
using Novus.Shared.Id;
using SelmoStudio.Hmi.Server.SelmoHmi.Group.Model.Ids;

namespace SelmoStudio.Hmi.Server.SelmoHmi.Group.Model.Dtos
{
    public record GroupCollectionDto : IStorageDto
    {
        IGuidBasedId IDto.Id => Id;

        public GroupCollectionId Id { get; init; }

        public string Name { get; init; }

        public List<GroupDto> Groups { get; init; }
    }
}