diff --git a/src/iRLeagueApiCore.Common/Models/Reviews/VoteModel.cs b/src/iRLeagueApiCore.Common/Models/Reviews/VoteModel.cs index 0140c97..f2ef92a 100644 --- a/src/iRLeagueApiCore.Common/Models/Reviews/VoteModel.cs +++ b/src/iRLeagueApiCore.Common/Models/Reviews/VoteModel.cs @@ -13,4 +13,6 @@ public class VoteModel public string Description { get; set; } = string.Empty; [DataMember] public MemberInfoModel? MemberAtFault { get; set; } + [DataMember] + public TeamInfoModel? TeamAtFault { get; set; } } diff --git a/src/iRLeagueApiCore.Common/Models/Teams/TeamInfoModel.cs b/src/iRLeagueApiCore.Common/Models/Teams/TeamInfoModel.cs new file mode 100644 index 0000000..c2e4919 --- /dev/null +++ b/src/iRLeagueApiCore.Common/Models/Teams/TeamInfoModel.cs @@ -0,0 +1,12 @@ +namespace iRLeagueApiCore.Common.Models; + +[DataContract] +public sealed class TeamInfoModel +{ + [DataMember] + public long TeamId { get; set; } + [DataMember] + public string Name { get; set; } = string.Empty; + [DataMember] + public string TeamColor { get; set; } = string.Empty; +} diff --git a/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj b/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj index d145c73..da4b3c8 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.9.3 + 0.10.0-dev.1 Simon Schulze Simon Schulze enable