diff --git a/Manager.Interfaces/DTO/ConfigurationDTO.cs b/Manager.Interfaces/DTO/ConfigurationDTO.cs index d2110a7..b670fd8 100644 --- a/Manager.Interfaces/DTO/ConfigurationDTO.cs +++ b/Manager.Interfaces/DTO/ConfigurationDTO.cs @@ -41,5 +41,6 @@ namespace Manager.Interfaces.DTO public bool isSectionImageBackground { get; set; } // Use to display background for section main image (or not) public int? roundedValue { get; set; } // Use to set rounded decoration value public int? screenPercentageSectionsMainPage { get; set; } // Use to set percentage of screen will be used to show sections (base on center) + public string appVersion { get; set; } // Use to set percentage of screen will be used to show sections (base on center) } } diff --git a/Manager.Interfaces/Models/Configuration.cs b/Manager.Interfaces/Models/Configuration.cs index 774fb96..5da666f 100644 --- a/Manager.Interfaces/Models/Configuration.cs +++ b/Manager.Interfaces/Models/Configuration.cs @@ -85,6 +85,9 @@ namespace Manager.Interfaces.Models [BsonElement("ScreenPercentageSectionsMainPage")] public int? ScreenPercentageSectionsMainPage { get; set; } + [BsonElement("AppVersion")] + public string AppVersion { get; set; } + public ConfigurationDTO ToDTO(List sectionIds) { return new ConfigurationDTO() @@ -112,6 +115,7 @@ namespace Manager.Interfaces.Models isSectionImageBackground = IsSectionImageBackground, roundedValue = RoundedValue, screenPercentageSectionsMainPage = ScreenPercentageSectionsMainPage, + appVersion = AppVersion, sectionIds = sectionIds }; }