Display conditions - Added data model selection

Display conditions - Added static and dynamic condition types
This commit is contained in:
SpoinkyNL committed 2020-07-05 23:00:23 +02:00
1 parent 4e1a09308f
commit 0ac6431755
8 files changed
+198 -66

No files matched your search

@@ -5,10 +5,20 @@ namespace Artemis.Core.Models.Profile.Conditions
{
public class DisplayConditionPredicate : DisplayConditionPart
{
public Guid DataModelGuid { get; set; }
public string PropertyPath { get; set; }
public PredicateType PredicateType { get; set; }
public DisplayConditionOperator Operator { get; set; }
public object Value { get; set; }
public Guid LeftDataModelGuid { get; set; }
public string LeftPropertyPath { get; set; }
public Guid RightDataModelGuid { get; set; }
public string RightPropertyPath { get; set; }
public object RightStaticValue { get; set; }
}
public enum PredicateType
{
Static,
Dynamic
}
}