From b8cd62851c10fe04a9015cce141ddfecd975fdaa Mon Sep 17 00:00:00 2001 From: Simon Schulze Date: Wed, 18 Oct 2023 00:40:58 +0200 Subject: [PATCH] Add team info to penalty model --- src/iRLeagueApiCore.Common/Models/Reviews/PenaltyModel.cs | 6 ++---- src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/iRLeagueApiCore.Common/Models/Reviews/PenaltyModel.cs b/src/iRLeagueApiCore.Common/Models/Reviews/PenaltyModel.cs index 61581e9..fdd6c73 100644 --- a/src/iRLeagueApiCore.Common/Models/Reviews/PenaltyModel.cs +++ b/src/iRLeagueApiCore.Common/Models/Reviews/PenaltyModel.cs @@ -18,9 +18,7 @@ public sealed class PenaltyModel : PutPenaltyModel [DataMember] public string SessionName { get; set; } = string.Empty; [DataMember] - public long MemberId { get; set; } + public MemberInfoModel? Member { get; set; } [DataMember] - public string Firstname { get; set; } = string.Empty; - [DataMember] - public string Lastname { get; set; } = string.Empty; + public TeamInfoModel? Team { get; set; } } diff --git a/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj b/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj index e1aca4f..b2f8a44 100644 --- a/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj +++ b/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj @@ -18,7 +18,7 @@ Library net6.0 iRLeagueApiCore.Common - 0.10.0-dev.3 + 0.10.0-dev.4 Simon Schulze Simon Schulze enable