Refactored EKÁER declaration logic to allow one EkaerHistory to reference multiple source documents via a new EkaerHistoryMapping junction table. Removed ForeignKey from EkaerHistory and updated all usages to use the Mappings collection. Updated service, controller, SignalR, and client interfaces to operate by EkaerHistoryId. Adjusted grid UI to display all mapped source IDs. Added EkaerHistoryMapping entity and updated documentation, constants, and ToonDescription attributes accordingly. |
||
|---|---|---|
| .. | ||
| Interfaces | ||
| Services | ||
| FruitBank.Common.Server.csproj | ||
| FruitBankConst.cs | ||
| README.md | ||
README.md
FruitBank.Common.Server
@project { type = "product" own-dep-projects = [ "AyCode.Core, AyCode.Interfaces, AyCode.Models.Server, AyCode.Services, AyCode.Services.Server (in AyCode.Core repo)", "Mango.Nop.Core (in Mango.Nop Libraries repo)" ] }
Server-side library: SignalR hubs, real-time broadcast service, logging infrastructure, and nopCommerce integration constants.
Folder Structure
| Folder | Purpose |
|---|---|
Interfaces/ |
Server-side endpoint marker interfaces |
Services/ |
SignalR hubs, broadcast service, logging |
Key Files (Root)
FruitBankConst.cs— Server constants: project GUID, role system names ("Measuring", "MeasuringRevisor"), product attribute "IsMeasurable", project salt.
Dependencies
- nopCommerce via Mango.Nop.Core
- AyCode.Core, AyCode.Services.Server (DLL references)
- Microsoft.AspNetCore.SignalR