IExtendableObject.cs 785 B

12345678910111213141516171819202122232425
  1. using JetBrains.Annotations;
  2. namespace Abp.Domain.Entities
  3. {
  4. /// <summary>
  5. /// Defines a JSON formatted string property to extend an object/entity.
  6. /// </summary>
  7. public interface IExtendableObject
  8. {
  9. /// <summary>
  10. /// A JSON formatted string to extend the containing object.
  11. /// JSON data can contain properties with arbitrary values (like primitives or complex objects).
  12. /// Extension methods are available (<see cref="ExtendableObjectExtensions"/>) to manipulate this data.
  13. /// General format:
  14. /// <code>
  15. /// {
  16. /// "Property1" : ...
  17. /// "Property2" : ...
  18. /// }
  19. /// </code>
  20. /// </summary>
  21. [CanBeNull]
  22. string ExtensionData { get; set; }
  23. }
  24. }