From e5bf27f60ab7609354943fb8249cb2ec071a52a8 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Fri, 28 Mar 2025 13:20:25 +0330 Subject: [PATCH] #478 UserContributionsViewModel --- .../ViewModels/UserContributionsViewModel.cs | 70 +++++++++++++++++++ RMuseum/RMuseum.xml | 65 +++++++++++++++++ 2 files changed, 135 insertions(+) create mode 100644 RMuseum/Models/Ganjoor/ViewModels/UserContributionsViewModel.cs diff --git a/RMuseum/Models/Ganjoor/ViewModels/UserContributionsViewModel.cs b/RMuseum/Models/Ganjoor/ViewModels/UserContributionsViewModel.cs new file mode 100644 index 00000000..8f478e12 --- /dev/null +++ b/RMuseum/Models/Ganjoor/ViewModels/UserContributionsViewModel.cs @@ -0,0 +1,70 @@ +using System; + +namespace RMuseum.Models.Ganjoor.ViewModels +{ + /// + /// user contributions + /// + public class UserContributionsViewModel + { + /// + /// user id + /// + public Guid Id { get; set; } + + /// + /// poem corrections + /// + public int PoemCorrections { get; set; } + + /// + /// section corrections + /// + public int SectionCorrections { get; set; } + + /// + /// cat edit corrections + /// + public int CatCorrections { get; set; } + + /// + /// suggested songs + /// + public int SuggestedSongs { get; set; } + + /// + /// quoted poems + /// + public int QuotedPoems { get; set; } + + /// + /// comments + /// + public int Comments { get; set; } + + /// + /// recitations + /// + public int Recitations { get; set; } + + /// + /// museum links + /// + public int MuseumLinks { get; set; } + + /// + /// pinterest links + /// + public int PinterestLinks { get; set; } + + /// + /// poet spec links + /// + public int PoetSpecLines { get; set; } + + /// + /// poet pictures + /// + public int PoetPictures { get; set; } + } +} diff --git a/RMuseum/RMuseum.xml b/RMuseum/RMuseum.xml index 3cb5abac..4f54d119 100644 --- a/RMuseum/RMuseum.xml +++ b/RMuseum/RMuseum.xml @@ -13427,6 +13427,71 @@ verse order + + + user contributions + + + + + user id + + + + + poem corrections + + + + + section corrections + + + + + cat edit corrections + + + + + suggested songs + + + + + quoted poems + + + + + comments + + + + + recitations + + + + + museum links + + + + + pinterest links + + + + + poet spec links + + + + + poet pictures + + history of suggested songs by a user