using System.Collections.Generic;
namespace NPP.SmartSchedue.Api.Contracts.Services.Time.Output;
///
/// 班次规则配置验证结果
///
public class ShiftRuleConfigValidationResult
{
///
/// 是否通过验证
///
public bool IsValid { get; set; }
///
/// 验证消息
///
public string Message { get; set; }
///
/// 验证错误列表
///
public List Errors { get; set; } = new List();
///
/// 验证警告列表
///
public List Warnings { get; set; } = new List();
///
/// 建议措施
///
public string Suggestion { get; set; }
}
///
/// 班次规则验证错误
///
public class ShiftRuleValidationError
{
///
/// 错误代码
///
public string ErrorCode { get; set; }
///
/// 错误消息
///
public string ErrorMessage { get; set; }
///
/// 错误级别
///
public string ErrorLevel { get; set; }
}
///
/// 验证警告
///
public class ValidationWarning
{
///
/// 警告代码
///
public string WarningCode { get; set; }
///
/// 警告消息
///
public string WarningMessage { get; set; }
///
/// 警告级别
///
public string WarningLevel { get; set; }
}