From 34a982ad0e33a2fb3c96b376411e774eebf01a9e Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Fri, 16 Jun 2023 15:31:29 +0330 Subject: [PATCH] #384 poeple tags: adding GanjoorRelatedPerson model --- .../Models/Ganjoor/GanjoorRelatedPerson.cs | 68 +++++++++++++++++++ RMuseum/RMuseum.xml | 65 ++++++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 RMuseum/Models/Ganjoor/GanjoorRelatedPerson.cs diff --git a/RMuseum/Models/Ganjoor/GanjoorRelatedPerson.cs b/RMuseum/Models/Ganjoor/GanjoorRelatedPerson.cs new file mode 100644 index 00000000..1a912f5d --- /dev/null +++ b/RMuseum/Models/Ganjoor/GanjoorRelatedPerson.cs @@ -0,0 +1,68 @@ +namespace RMuseum.Models.Ganjoor +{ + /// + /// a person refered by a poem + /// + public class GanjoorRelatedPerson + { + /// + /// id + /// + public int Id { get; set; } + + /// + /// name + /// + public string Name { get; set; } + + /// + /// description + /// + public string Description { get; set; } + + /// + /// wikipedia url + /// + public string WikiUrl { get; set; } + + /// + /// birth year in lunar hijri + /// + public int BirthYearInLHijri { get; set; } + + /// + /// death year in lunar hijri + /// + public int DeathYearInLHijri { get; set; } + + /// + /// BirthYearInLHijri, for some poets it is only indicator of their century of birth and should not be relied as their valid birth date + /// + public bool ValidBirthDate { get; set; } + + /// + /// DeathYearInLHijri, for some poets it is only indicator of their century of death and should not be relied as their valid death date + /// + public bool ValidDeathDate { get; set; } + + /// + /// birth location id + /// + public int? BirthLocationId { get; set; } + + /// + /// birth location + /// + public virtual GanjoorGeoLocation BirthLocation { get; set; } + + /// + /// death location id + /// + public int? DeathLocationId { get; set; } + + /// + /// death location + /// + public virtual GanjoorGeoLocation DeathLocation { get; set; } + } +} diff --git a/RMuseum/RMuseum.xml b/RMuseum/RMuseum.xml index f1bb89ad..e82df3c5 100644 --- a/RMuseum/RMuseum.xml +++ b/RMuseum/RMuseum.xml @@ -8191,6 +8191,71 @@ suggested by + + + a person refered by a poem + + + + + id + + + + + name + + + + + description + + + + + wikipedia url + + + + + birth year in lunar hijri + + + + + death year in lunar hijri + + + + + BirthYearInLHijri, for some poets it is only indicator of their century of birth and should not be relied as their valid birth date + + + + + DeathYearInLHijri, for some poets it is only indicator of their century of death and should not be relied as their valid death date + + + + + birth location id + + + + + birth location + + + + + death location id + + + + + death location + + ganjoor.net site banner