Add ToonDescription metadata to entities and DTOs

Expanded use of the ToonDescription attribute across core entities and DTOs to provide rich metadata, including business rules, purposes, and status flags. Added class-level and property-level annotations to improve self-documentation and support automated tooling. Introduced new computed properties with ToonDescription in ProductDto, StockQuantityHistoryDto, and StockTakingItem. Updated ToonTypeRelation with an Entity constant. Enhanced test coverage for Toon metadata. Cleaned up imports and removed obsolete test_debug.ps1 script. Updated settings.local.json to support additional Bash commands for tooling. These changes improve introspectability and support for serialization, UI, and API documentation.
This commit is contained in:
Loretta 2026-01-15 11:33:34 +01:00
parent 024b19b830
commit ba23251644
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ public static class ToonTypeRelation
/// </summary>
public const string BaseOf = "base-of";
public const string Entity = "entity";
/// <summary>
/// This type is derived from another type.
/// Example: OrderDto is derived-from Order