23 lines
788 B
C#
23 lines
788 B
C#
using System.Collections.Generic;
|
|
using NPP.SmartSchedue.Api.Contracts.Services.Integration.Models;
|
|
|
|
namespace NPP.SmartSchedue.Api.Contracts.Services.Integration.Output;
|
|
|
|
|
|
/// <summary>
|
|
/// 约束评估结果(简化版)
|
|
/// </summary>
|
|
public class ConstraintEvaluationResult
|
|
{
|
|
public PersonnelCandidate Candidate { get; set; }
|
|
public bool IsValid { get; set; }
|
|
public double ConstraintScore { get; set; }
|
|
public double? TimeAvailabilityScore { get; set; }
|
|
public double? WorkLimitScore { get; set; }
|
|
public double? ShiftRuleScore { get; set; }
|
|
public List<ConstraintViolation> Violations { get; set; }
|
|
public List<string> PassedConstraints { get; set; }
|
|
public string EvaluationDetails { get; set; }
|
|
public RiskLevel RiskLevel { get; set; }
|
|
}
|