using PARR.Domain.Enums;

namespace PARR.API.Contracts.V1.Responses
{
    public record JobGroupTypeResponse
    {
        public Guid Id { get; init; }

        public required JobGroupTypesEnum Code { get; init; }

        public required string Name { get; init; }

        public required string Description { get; init; }

        public bool IsAllowJobUnitFilter { get; init; }

        public bool IsJobGroupAutoControl { get; init; }

        public bool IsRelationshipsAllowed { get; init; }
    }
}
