Merge branch 'master' of http://git2.aycode.com/Adam/AyCode.Core
This commit is contained in:
commit
e7bbf97773
|
|
@ -11,7 +11,7 @@ namespace AyCode.Entities.Locations
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
[Table("Locations")]
|
//[Table("Locations")]
|
||||||
public class LocationBase : ILocationBase
|
public class LocationBase : ILocationBase
|
||||||
{
|
{
|
||||||
public LocationBase() { }
|
public LocationBase() { }
|
||||||
|
|
@ -27,14 +27,12 @@ namespace AyCode.Entities.Locations
|
||||||
|
|
||||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||||
public Guid Id { get; set; }
|
public Guid Id { get; set; }
|
||||||
[DataType(DataType.Custom)]
|
|
||||||
[Display(Name = "Longitude")]
|
|
||||||
public double Longitude { get; set; }
|
public double Longitude { get; set; }
|
||||||
[DataType(DataType.Custom)]
|
|
||||||
[Display(Name = "Latitude")]
|
|
||||||
public double Latitude { get; set; }
|
public double Latitude { get; set; }
|
||||||
[DataType(DataType.Text)]
|
|
||||||
[Display(Name = "Address")]
|
|
||||||
public string? Address { get; set; }
|
public string? Address { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue