Changing type of latitude and longitude
This commit is contained in:
parent
07e6033e30
commit
53a2c9f9d0
@ -31,10 +31,10 @@ public class Property {
|
|||||||
public String address;
|
public String address;
|
||||||
|
|
||||||
@ColumnInfo(name = "longitude")
|
@ColumnInfo(name = "longitude")
|
||||||
public long longitude;
|
public double longitude;
|
||||||
|
|
||||||
@ColumnInfo(name = "latitude")
|
@ColumnInfo(name = "latitude")
|
||||||
public long latitude;
|
public double latitude;
|
||||||
|
|
||||||
@Embedded
|
@Embedded
|
||||||
public PropertyStatue propertyStatue;
|
public PropertyStatue propertyStatue;
|
||||||
@ -45,7 +45,7 @@ public class Property {
|
|||||||
@ColumnInfo(name = "belongs_agency_id", index = true)
|
@ColumnInfo(name = "belongs_agency_id", index = true)
|
||||||
public int belongsToAgencyId;
|
public int belongsToAgencyId;
|
||||||
|
|
||||||
public Property(String description, String address, long longitude, long latitude, int belongsToAgencyId)
|
public Property(String description, String address, double longitude, double latitude, int belongsToAgencyId)
|
||||||
{
|
{
|
||||||
propertyId = 0;
|
propertyId = 0;
|
||||||
this.description = description;
|
this.description = description;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user