Locationbase normalization
This commit is contained in:
parent
68c8268634
commit
4fa86b4745
|
|
@ -11,7 +11,7 @@ namespace AyCode.Entities.Locations
|
|||
{
|
||||
|
||||
|
||||
[Table("Locations")]
|
||||
//[Table("Locations")]
|
||||
public class LocationBase : ILocationBase
|
||||
{
|
||||
public LocationBase() { }
|
||||
|
|
@ -27,14 +27,12 @@ namespace AyCode.Entities.Locations
|
|||
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public Guid Id { get; set; }
|
||||
[DataType(DataType.Custom)]
|
||||
[Display(Name = "Longitude")]
|
||||
|
||||
public double Longitude { get; set; }
|
||||
[DataType(DataType.Custom)]
|
||||
[Display(Name = "Latitude")]
|
||||
|
||||
|
||||
public double Latitude { get; set; }
|
||||
[DataType(DataType.Text)]
|
||||
[Display(Name = "Address")]
|
||||
|
||||
public string? Address { get; set; }
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue