From b7bc935aabbbe19f11d088f5922e521cd5b99753 Mon Sep 17 00:00:00 2001 From: Simon Schulze Date: Wed, 18 Oct 2023 00:28:48 +0200 Subject: [PATCH] Add id for result row --- src/iRLeagueApiCore.Common/Models/Results/ResultRowModel.cs | 2 ++ src/iRLeagueApiCore.Common/Models/Reviews/PostReviewModel.cs | 2 ++ src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/iRLeagueApiCore.Common/Models/Results/ResultRowModel.cs b/src/iRLeagueApiCore.Common/Models/Results/ResultRowModel.cs index d59328f..14748dd 100644 --- a/src/iRLeagueApiCore.Common/Models/Results/ResultRowModel.cs +++ b/src/iRLeagueApiCore.Common/Models/Results/ResultRowModel.cs @@ -6,6 +6,8 @@ [DataContract] public class ResultRowModel { + [DataMember] + public long ScoredResultRowId { get; set; } /// /// First name of the driver /// diff --git a/src/iRLeagueApiCore.Common/Models/Reviews/PostReviewModel.cs b/src/iRLeagueApiCore.Common/Models/Reviews/PostReviewModel.cs index 2a9dcf8..605baf7 100644 --- a/src/iRLeagueApiCore.Common/Models/Reviews/PostReviewModel.cs +++ b/src/iRLeagueApiCore.Common/Models/Reviews/PostReviewModel.cs @@ -18,6 +18,8 @@ public class PostReviewModel [DataMember] public ICollection InvolvedMembers { get; set; } = new List(); [DataMember] + public ICollection InvolvedTeams { get; set; } = new List(); + [DataMember] public string ResultText { get; set; } = string.Empty; [DataMember] public ICollection VoteResults { get; set; } = new List(); diff --git a/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj b/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj index da4b3c8..e1aca4f 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.1 + 0.10.0-dev.3 Simon Schulze Simon Schulze enable