Files
maraphon-app/src/Marathon.Domain/Enums/Side.cs
T
alexei.dolgolyov 61114ea31b 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.
2026-05-05 01:20:28 +03:00

17 lines
350 B
C#

namespace Marathon.Domain.Enums;
/// <summary>
/// Vocabulary-agnostic representation of a bet side.
/// Side1/Side2 map to home/away for win-type bets.
/// Draw applies only to win-type markets where a draw is possible.
/// Less/More apply to total-type bets.
/// </summary>
public enum Side
{
Side1,
Side2,
Draw,
Less,
More,
}