// Copyright © Selmo Technology GmbH. All Rights Reserved

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

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

        public GroupId Id { get; init; }

        public string Name { get; init; }

        public string Description { get; init; }

        public HmiGroupInfoType GroupInfoType { get; init; }

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