#233 adding geo location data to the poet model

This commit is contained in:
Hamid Reza Mohammadi 2021-10-29 08:59:28 +03:30
parent 7c10bb9565
commit 40fa17f416
3 changed files with 90 additions and 0 deletions

View File

@ -371,5 +371,10 @@ namespace RMuseum.DbContext
/// </summary>
public DbSet<GanjoorCentury> GanjoorCenturies { get; set; }
/// <summary>
/// ganjoor cities
/// </summary>
public DbSet<GanjoorGeoLocation> GanjoorGeoLocations { get; set; }
}
}

View File

@ -65,5 +65,35 @@ namespace RMuseum.Models.Ganjoor
/// Home page pin order (zero means not pinned)
/// </summary>
public int PinOrder { 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

@ -2103,6 +2103,11 @@
ganjoor half centuries
</summary>
</member>
<member name="P:RMuseum.DbContext.RMuseumDbContext.GanjoorGeoLocations">
<summary>
ganjoor cities
</summary>
</member>
<member name="T:RMuseum.Models.Accounting.DonationExpenditure">
<summary>
donation expenditures
@ -4803,6 +4808,26 @@
reported by user
</summary>
</member>
<member name="T:RMuseum.Models.Ganjoor.GanjoorGeoLocation">
<summary>
Geo Locations (Cities) referred by Ganjoor Metadata
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorGeoLocation.Id">
<summary>
id
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorGeoLocation.Name">
<summary>
name
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorGeoLocation.Location">
<summary>
geo location
</summary>
</member>
<member name="T:RMuseum.Models.Ganjoor.GanjoorHealthCheckError">
<summary>
Ganjoor Page Health Check log
@ -5527,6 +5552,36 @@
Home page pin order (zero means not pinned)
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoet.InvalidBirthDate">
<summary>
for some poets it is only indicator of their century of birth and should not be reported back as their valid birth date
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoet.InvalidDeathDate">
<summary>
for some poets it is only indicator of their century of death and should not be reported back as their valid death date
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoet.BirthLocationId">
<summary>
birth location id
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoet.BirthLocation">
<summary>
birth location
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoet.DeathLocationId">
<summary>
death location id
</summary>
</member>
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoet.DeathLocation">
<summary>
death location
</summary>
</member>
<member name="T:RMuseum.Models.Ganjoor.GanjoorSiteBanner">
<summary>
ganjoor.net site banner