Asoka.Wang 21f044712c 1
2025-08-27 18:39:19 +08:00

29 lines
654 B
C#

using System.Collections.Generic;
namespace NPP.SmartSchedue.Api.Contracts.Services.Time.Output;
/// <summary>
/// 班次规则验证结果
/// </summary>
public class ShiftRuleValidationResult
{
/// <summary>
/// 是否通过验证
/// </summary>
public bool IsValid { get; set; }
/// <summary>
/// 验证消息
/// </summary>
public string Message { get; set; }
/// <summary>
/// 违反的规则列表
/// </summary>
public List<string> ViolatedRules { get; set; } = new List<string>();
/// <summary>
/// 建议的解决方案
/// </summary>
public string Suggestion { get; set; }
}