BeaconId string to int

This commit is contained in:
Fransolet Thomas 2023-02-16 18:02:33 +01:00
parent ca1d71a846
commit 042949ec60
2 changed files with 2 additions and 2 deletions

View File

@ -25,6 +25,6 @@ namespace Manager.Interfaces.DTO
public string longitude { get; set; } // MyVisit - Use to launch automatic content when current location is near public string longitude { get; set; } // MyVisit - Use to launch automatic content when current location is near
public int? meterZoneGPS { get; set; } // MyVisit - Nbr of meters of the zone to launch content public int? meterZoneGPS { get; set; } // MyVisit - Nbr of meters of the zone to launch content
public bool isBeacon { get; set; } // MyVisit - True if section use beacon, false otherwise public bool isBeacon { get; set; } // MyVisit - True if section use beacon, false otherwise
public string beaconId { get; set; } // MyVisit - Beacon' identifier public int beaconId { get; set; } // MyVisit - Beacon' identifier
} }
} }

View File

@ -69,7 +69,7 @@ namespace Manager.Interfaces.Models
public bool IsBeacon { get; set; } public bool IsBeacon { get; set; }
[BsonElement("BeaconId")] [BsonElement("BeaconId")]
public string BeaconId { get; set; } public int BeaconId { get; set; }
[BsonElement("Latitude")] [BsonElement("Latitude")]
public string Latitude { get; set; } public string Latitude { get; set; }