#384 poeple tags: adding GanjoorRelatedPerson model

This commit is contained in:
Hamid Reza Mohammadi 2023-06-16 15:31:29 +03:30
parent 24003fef77
commit 34a982ad0e
2 changed files with 133 additions and 0 deletions

View File

@ -0,0 +1,68 @@
namespace RMuseum.Models.Ganjoor
{
/// <summary>
/// a person refered by a poem
/// </summary>
public class GanjoorRelatedPerson
{
/// <summary>
/// id
/// </summary>
public int Id { get; set; }
/// <summary>
/// name
/// </summary>
public string Name { get; set; }
/// <summary>
/// description
/// </summary>
public string Description { get; set; }
/// <summary>
/// wikipedia url
/// </summary>
public string WikiUrl { get; set; }
/// <summary>
/// birth year in lunar hijri
/// </summary>
public int BirthYearInLHijri { get; set; }
/// <summary>
/// death year in lunar hijri
/// </summary>
public int DeathYearInLHijri { get; set; }
/// <summary>
/// BirthYearInLHijri, for some poets it is only indicator of their century of birth and should not be relied as their valid birth date
/// </summary>
public bool ValidBirthDate { get; set; }
/// <summary>
/// DeathYearInLHijri, for some poets it is only indicator of their century of death and should not be relied as their valid death date
/// </summary>
public bool ValidDeathDate { get; set; }
/// <summary>
/// birth location id
/// </summary>
public int? BirthLocationId { get; set; }
/// <summary>
/// birth location
/// </summary>
public virtual GanjoorGeoLocation BirthLocation { get; set; }
/// <summary>
/// death location id
/// </summary>
public int? DeathLocationId { get; set; }
/// <summary>
/// death location
/// </summary>
public virtual GanjoorGeoLocation DeathLocation { get; set; }
}
}

View File

@ -8191,6 +8191,71 @@
suggested by
</summary>
</member>
<member name="T:RMuseum.Models.Ganjoor.GanjoorRelatedPerson">
<summary>
a person refered by a poem
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorRelatedPerson.Id">
<summary>
id
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorRelatedPerson.Name">
<summary>
name
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorRelatedPerson.Description">
<summary>
description
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorRelatedPerson.WikiUrl">
<summary>
wikipedia url
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorRelatedPerson.BirthYearInLHijri">
<summary>
birth year in lunar hijri
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorRelatedPerson.DeathYearInLHijri">
<summary>
death year in lunar hijri
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorRelatedPerson.ValidBirthDate">
<summary>
BirthYearInLHijri, for some poets it is only indicator of their century of birth and should not be relied as their valid birth date
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorRelatedPerson.ValidDeathDate">
<summary>
DeathYearInLHijri, for some poets it is only indicator of their century of death and should not be relied as their valid death date
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorRelatedPerson.BirthLocationId">
<summary>
birth location id
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorRelatedPerson.BirthLocation">
<summary>
birth location
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorRelatedPerson.DeathLocationId">
<summary>
death location id
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorRelatedPerson.DeathLocation">
<summary>
death location
</summary>
</member>
<member name="T:RMuseum.Models.Ganjoor.GanjoorSiteBanner">
<summary>
ganjoor.net site banner