This commit is contained in:
11
server/AyaNova/biz/AyDataTypes.cs
Normal file
11
server/AyaNova/biz/AyDataTypes.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace AyaNova.Biz
|
||||
{
|
||||
static class AyDataTypes
|
||||
{
|
||||
public const string Date = "date";
|
||||
public const string Text = "text";
|
||||
public const string Integer = "int";
|
||||
public const string Bool = "bool";
|
||||
public const string Decimal = "decimal";
|
||||
}
|
||||
}
|
||||
@@ -8,8 +8,14 @@ namespace AyaNova.Biz
|
||||
|
||||
public class FilterOptions
|
||||
{
|
||||
public string ListKey { get; set; }
|
||||
public List<FilterField> Fields { get; set; }
|
||||
public string Key { get; set; }
|
||||
public List<FilterField> Flds { get; set; }
|
||||
|
||||
public FilterOptions(string key)
|
||||
{
|
||||
Flds = new List<FilterField>();
|
||||
Key = key;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -14,23 +14,12 @@ namespace AyaNova.Biz
|
||||
{
|
||||
|
||||
//FILTEROPTIONS COLLECTION
|
||||
//{list:"widget",fields:[{fld:"name",lt:"WidgetName",type:"text"},{fld:"dollarAmount",lt:"WidgetDollarAmount",type:"currency"}]}
|
||||
FilterOptions FilterOptions { get; set; }
|
||||
|
||||
//VALIDATE FILTER
|
||||
|
||||
// /// <summary>
|
||||
// /// Import from the JSON data provided
|
||||
// /// </summary>
|
||||
// /// <param name="v7ImportData">Json object containing source record</param>
|
||||
// /// <param name="importMap">A collection that can be used to match import records to new records, NOT persistent between imports</param>
|
||||
// /// <param name="JobId">JobId for logging or controlling jobs from within processor</param>
|
||||
// /// <returns>True if imported, False if not imported due to invalid or other error (logged in job log)</returns>
|
||||
// Task<bool> ImportV7Async(JObject v7ImportData, List<ImportAyaNova7MapItem> importMap, Guid JobId);
|
||||
|
||||
// /// <summary>
|
||||
// /// If true, relaxes validation rules so that incomplete data can be imported
|
||||
// /// </summary>
|
||||
// bool SeedOrImportRelaxedRulesMode { get; set; }
|
||||
//VALIDATE FILTER?
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user