using CellularManagement.Domain.Common; using MediatR; using System.ComponentModel.DataAnnotations; namespace CellularManagement.Application.Features.Scenarios.Commands.DisableScenario; /// /// 禁用场景命令 /// public class DisableScenarioCommand : IRequest> { /// /// 场景ID /// [Required(ErrorMessage = "场景ID不能为空")] [MaxLength(50, ErrorMessage = "场景ID长度不能超过50个字符")] public string ScenarioId { get; set; } = null!; }