From ba23251644cee0c9f7a938e7eba11e9cb14624a8 Mon Sep 17 00:00:00 2001 From: Loretta Date: Thu, 15 Jan 2026 11:33:34 +0100 Subject: [PATCH] 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. --- AyCode.Core/Serializers/Toons/ToonTypeRelation.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/AyCode.Core/Serializers/Toons/ToonTypeRelation.cs b/AyCode.Core/Serializers/Toons/ToonTypeRelation.cs index 652398a..bb87971 100644 --- a/AyCode.Core/Serializers/Toons/ToonTypeRelation.cs +++ b/AyCode.Core/Serializers/Toons/ToonTypeRelation.cs @@ -17,6 +17,7 @@ public static class ToonTypeRelation /// public const string BaseOf = "base-of"; + public const string Entity = "entity"; /// /// This type is derived from another type. /// Example: OrderDto is derived-from Order