namespace BizProcessDAL.DTO { public class BizProcessVariantMetricDTO { public int BizProcessVariantMetricId { get; set; } public int BizProcessVariantId { get; set; } public int KraId { get; set; } = -1; public int MeasureId { get; set; } = -1; // METRICCATEGORY: 1=Efficiency, 2=Effectiveness, 3=Cost, 4=Quality public byte MetricCategory { get; set; } public decimal? TargetValue { get; set; } public int TenantId { get; set; } public int CreatedById { get; set; } = -1; public DateTime CreatedOn { get; set; } public int ModifiedById { get; set; } = -1; public DateTime ModifiedOn { get; set; } } // Read-only projection returned by GetProcessVariantMetrics — target authored data, // actual computed on read (see BizProcessBLL). Not persisted as its own table. public class BizProcessVariantMetricResultDTO { public int BizProcessVariantMetricId { get; set; } public byte MetricCategory { get; set; } public decimal? TargetValue { get; set; } public decimal? ActualValue { get; set; } } public class BizProcessFrameworkDTO { public int FrameworkId { get; set; } public string FrameworkCode { get; set; } = string.Empty; public string FrameworkName { get; set; } = string.Empty; public string? FrameworkCategory { get; set; } public string? Description { get; set; } } }