CreateOrUpdateTaskTemplateCommand.cs
767 Bytes
using Rcs.Application.Dtos;
namespace Rcs.Application.MessageBus.Commands;
public class CreateOrUpdateTaskTemplateCommand : MessageBase
{
public string? TemplateId { get; set; }
public string TemplateCode { get; set; } = string.Empty;
public string TemplateName { get; set; } = string.Empty;
public string? Description { get; set; }
public int RobotType { get; set; }
public string? Manufacturer { get; set; }
public bool IsEnabled { get; set; } = true;
/// <summary>
/// 是否为默认模板(同一机器人类型+制造商只能有一个默认模板)
/// @author zzy
/// </summary>
public bool IsDefault { get; set; } = false;
public List<TaskStepDto> TaskSteps { get; set; } = new List<TaskStepDto>();
}