From 042949ec605a28187f8d9ded606b47281f1e0528 Mon Sep 17 00:00:00 2001 From: Fransolet Thomas Date: Thu, 16 Feb 2023 18:02:33 +0100 Subject: [PATCH] BeaconId string to int --- Manager.Interfaces/DTO/SectionDTO.cs | 2 +- Manager.Interfaces/Models/Section.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }