#233 adding GanjoorGeoLocation model

This commit is contained in:
Hamid Reza Mohammadi 2021-10-29 08:52:20 +03:30
parent 00c4c17399
commit 7c10bb9565
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,26 @@
using NetTopologySuite.Geometries;
namespace RMuseum.Models.Ganjoor
{
/// <summary>
/// Geo Locations (Cities) referred by Ganjoor Metadata
/// </summary>
public class GanjoorGeoLocation
{
/// <summary>
/// id
/// </summary>
public int Id { get; set; }
/// <summary>
/// name
/// </summary>
public string Name { get; set; }
/// <summary>
/// geo location
/// </summary>
public Point Location { get; set; }
}
}

View File

@ -18,6 +18,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite" Version="5.0.11" />
<PackageReference Include="MySql.Data" Version="8.0.24" />
<PackageReference Include="NAudio" Version="2.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.1.3" />