namespace GB5Shared.DTO.Framework.Validation { /// /// DTO for MVALIDATIONASSIGNMENT — the polymorphic "who requires which validation" junction. /// EntityType reuses GB5Shared.DTO.Framework.Taxonomy.TaxonomyEntityTypeConstant's numbering. /// Enforcement: 0 Log, 1 Warn, 2 Block. /// public class ValidationAssignmentDTO { public int ValidationAssignmentId { get; set; } public short EntityType { get; set; } public int EntityId { get; set; } public int EntityStepId { get; set; } = -1; public int ValidationCriteriaId { get; set; } public byte Enforcement { get; set; } = 1; public byte IsMandatory { get; set; } = 1; public string? Remarks { get; set; } } }