feat: implement Phase 1 — solution skeleton and domain model

Creates the 9-project .NET 8 solution (5 src + 4 test) with Marathon.Domain
fully implemented: value objects (SportCode, EventId, OddsRate, OddsValue,
BetScope hierarchy), enums (Side, BetType, OddsSource, AnomalyKind), and
entities (Sport, Country, League, Event, Bet, OddsSnapshot, EventResult,
Anomaly) with all invariants enforced in constructors. 96 domain tests pass
(FluentAssertions + xUnit). Directory.Build.props and Directory.Packages.props
centralise build settings and NuGet versions. Both Marathon.sln and Marathon.slnx
are committed; dotnet build Marathon.sln succeeds with 0 warnings/errors.
This commit is contained in:
2026-05-05 01:20:28 +03:00
parent e4b03f42ef
commit 61114ea31b
60 changed files with 1845 additions and 19 deletions
+15
View File
@@ -0,0 +1,15 @@
<Solution>
<Folder Name="/src/">
<Project Path="src/Marathon.Application/Marathon.Application.csproj" />
<Project Path="src/Marathon.Domain/Marathon.Domain.csproj" />
<Project Path="src/Marathon.Hosts.WpfBlazor/Marathon.Hosts.WpfBlazor.csproj" />
<Project Path="src/Marathon.Infrastructure/Marathon.Infrastructure.csproj" />
<Project Path="src/Marathon.UI/Marathon.UI.csproj" />
</Folder>
<Folder Name="/tests/">
<Project Path="tests/Marathon.Application.Tests/Marathon.Application.Tests.csproj" />
<Project Path="tests/Marathon.Domain.Tests/Marathon.Domain.Tests.csproj" />
<Project Path="tests/Marathon.Infrastructure.Tests/Marathon.Infrastructure.Tests.csproj" />
<Project Path="tests/Marathon.UI.Tests/Marathon.UI.Tests.csproj" />
</Folder>
</Solution>