diff --git a/Manager.Interfaces/DTO/SectionDTO.cs b/Manager.Interfaces/DTO/SectionDTO.cs index 0067687..3f26447 100644 --- a/Manager.Interfaces/DTO/SectionDTO.cs +++ b/Manager.Interfaces/DTO/SectionDTO.cs @@ -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 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 string beaconId { get; set; } // MyVisit - Beacon' identifier + public int beaconId { get; set; } // MyVisit - Beacon' identifier } } diff --git a/Manager.Interfaces/Models/Section.cs b/Manager.Interfaces/Models/Section.cs index 8ec6d02..86b5f20 100644 --- a/Manager.Interfaces/Models/Section.cs +++ b/Manager.Interfaces/Models/Section.cs @@ -69,7 +69,7 @@ namespace Manager.Interfaces.Models public bool IsBeacon { get; set; } [BsonElement("BeaconId")] - public string BeaconId { get; set; } + public int BeaconId { get; set; } [BsonElement("Latitude")] public string Latitude { get; set; }