using Core.DomainObjects;
namespace WeatherForecast.Models {
///
///
///
public class LocalizationModel {
///
///
///
public string? TimeZone { get; set; }
///
///
///
public string? Locale { get; set; }
///
///
///
public string? DateFormat { get; set; }
///
///
///
public string? TimeFormat { get; set; }
///
///
///
public string? Currency { get; set; }
///
///
///
public string? CurrencySymbol { get; set; }
///
///
///
///
public LocalizationModel(Localization localization) {
TimeZone = localization.TimeZone;
Locale = localization.Locale;
DateFormat = localization.DateFormat;
TimeFormat = localization.TimeFormat;
Currency = localization.Currency;
CurrencySymbol = localization.CurrencySymbol;
}
}
}