mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Conditions - Move to new paths API (WIP)
This commit is contained in:
1 parent
a2759d007e
commit
da132fa4e9
7 files changed
+136
-296
No files matched your search
@@ -11,9 +11,7 @@ namespace Artemis.Storage.Entities.Profile.Conditions
|
||||
Children = new List<DataModelConditionPartEntity>();
|
||||
}
|
||||
|
||||
public Guid? ListDataModelGuid { get; set; }
|
||||
public string ListPropertyPath { get; set; }
|
||||
|
||||
public DataModelPathEntity ListPath { get; set; }
|
||||
public int ListOperator { get; set; }
|
||||
}
|
||||
}
|
||||
+3
-5
@@ -6,16 +6,14 @@ namespace Artemis.Storage.Entities.Profile.Conditions
|
||||
public class DataModelConditionPredicateEntity : DataModelConditionPartEntity
|
||||
{
|
||||
public int PredicateType { get; set; }
|
||||
public Guid? LeftDataModelGuid { get; set; }
|
||||
public string LeftPropertyPath { get; set; }
|
||||
|
||||
public Guid? RightDataModelGuid { get; set; }
|
||||
public string RightPropertyPath { get; set; }
|
||||
public DataModelPathEntity LeftPath { get; set; }
|
||||
public DataModelPathEntity RightPath { get; set; }
|
||||
|
||||
public string OperatorType { get; set; }
|
||||
public Guid? OperatorPluginGuid { get; set; }
|
||||
|
||||
// Stored as a string to be able to control serialization and deserialization ourselves
|
||||
public string RightStaticValue { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user