This commit is contained in:
2022-02-25 00:05:20 +00:00
parent c53f95b72e
commit e0bf2cb733
4 changed files with 252 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using System;
using AyaNova.Biz;
namespace AyaNova.KPI
{
internal interface IAyaKPI
{
//allowed roles to access this kpi
AuthorizationRoles AllowedRoles { get; }
//build the data and meta queries based on the criteria and this kpi's standard query
void BuildQuery(string criteria, DateTimeOffset clientTimeStamp);
string MetaQuery{get;}//Query to fetch json meta data for report purposes mainly (lookup stuff like names etc where applicable)
string DataQuery{get;}//Query to fetch json format data for result set
string ErrorMessage{get;}//if there was a problem then this is set with the error message
}
}