namespace GB5Shared.DTO.Framework.Validation { /// Assignment joined with its criteria — the shape IValidationCriteriaEvaluator resolves /// per assigned entity before checking proof against the appropriate transaction table. public class ValidationAssignmentWithCriteriaDTO { public int ValidationAssignmentId { get; set; } public short EntityType { get; set; } public int EntityId { get; set; } public int EntityStepId { get; set; } = -1; public byte Enforcement { get; set; } = 1; public byte IsMandatory { get; set; } = 1; public int ValidationCriteriaId { get; set; } public byte ValidationType { get; set; } public int TargetId { get; set; } public short MinScorePct { get; set; } = -1; public short MinLevel { get; set; } = -1; public int ValidityDays { get; set; } = -1; public string? Description { get; set; } } }