CQRS command with complex structure
Is it okay to have command like this, is it bad approach for CQRS to have DTO inside Command?
public class CreateTemplateCommand : IRequest<int>
{
public string Name { get; set; } = default!;
public string ChatSystemPrompt { get; set; } = default!;
public string Definition { get; set; } = default!;
public double Temperature { get; set; }
public double TopP { get; set; }
public List<TagDto> TagDtos { get; set; } = default!;
}