You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
550 B
18 lines
550 B
using CellularManagement.Domain.Common;
|
|
using MediatR;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace CellularManagement.Application.Features.Scenarios.Commands.DisableScenario;
|
|
|
|
/// <summary>
|
|
/// 禁用场景命令
|
|
/// </summary>
|
|
public class DisableScenarioCommand : IRequest<OperationResult<bool>>
|
|
{
|
|
/// <summary>
|
|
/// 场景ID
|
|
/// </summary>
|
|
[Required(ErrorMessage = "场景ID不能为空")]
|
|
[MaxLength(50, ErrorMessage = "场景ID长度不能超过50个字符")]
|
|
public string ScenarioId { get; set; } = null!;
|
|
}
|