AccountingNext/Schaad.Accounting.Common/ClassIds.cs
Claudio Schaad 786fafefa5 PR N: polish pass — ClassIds static, drop loaded flag, mandator from config
Three long-noted rough edges from the original analysis, each a
one-line touch:

- ClassIds becomes static class (was instantiable).
- Home.razor.cs drops the `loaded` bool guard (Blazor already runs
  OnInitializedAsync exactly once per component instance).
- Move the "Claudio Schaad" mandator default out of SettingsService
  into SettingsDataset.DefaultMandator, plumbed through
  appsettings.Development.json.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-02 22:07:08 +02:00

10 lines
231 B
C#

namespace Schaad.Accounting
{
public static class ClassIds
{
public const int Activa = 1;
public const int Passiva = 2;
public const int Income = 3;
public const int Expenses = 4;
}
}