-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from EAVFW/pks/polylookup-split
Pks/polylookup split
- Loading branch information
Showing
18 changed files
with
321 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,41 @@ | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace EAVFW.Extensions.Manifest.SDK | ||
{ | ||
public class EntityDefinition | ||
{ | ||
[JsonPropertyName("pluralName")] public string PluralName { get; set; } | ||
[JsonPropertyName("description")] public string Description { get; set; } | ||
[JsonPropertyName("attributes")] public Dictionary<string, AttributeDefinitionBase> Attributes { get; set; } | ||
[JsonPropertyName("wizards")] public Dictionary<string, WizardDefinition> Wizards { get; set; } | ||
[JsonProperty("pluralName")] | ||
[JsonPropertyName("pluralName")] | ||
public string PluralName { get; set; } | ||
|
||
[JsonProperty("collectionSchemaName")] | ||
[JsonPropertyName("collectionSchemaName")] | ||
public string CollectionSchemaName { get; set; } | ||
|
||
[JsonProperty("logicalName")] | ||
[JsonPropertyName("logicalName")] | ||
public string LogicalName { get; set; } | ||
|
||
|
||
[JsonPropertyName("description")] | ||
[JsonProperty("description")] | ||
public string Description { get; set; } | ||
|
||
[JsonPropertyName("attributes")] | ||
[JsonProperty("attributes")] | ||
public Dictionary<string, AttributeDefinitionBase> Attributes { get; set; } | ||
|
||
[JsonPropertyName("wizards")] | ||
[JsonProperty("wizards")] | ||
public Dictionary<string, WizardDefinition> Wizards { get; set; } | ||
|
||
/// <summary> | ||
/// Exclusively used to capture non-spec items | ||
/// </summary> | ||
[JsonExtensionData] | ||
[System.Text.Json.Serialization.JsonExtensionData] | ||
[Newtonsoft.Json.JsonExtensionData] | ||
public Dictionary<string, object> AdditionalFields { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.