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:
parent
024b19b830
commit
ba23251644
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue