31 lines
593 B
C#
31 lines
593 B
C#
using Core.Abstractions.Models;
|
|
using Core.DomainObjects.L10n;
|
|
|
|
namespace WeatherForecast.Models.Responses.L10n {
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class ImageL10nModel : ResponseModelBase {
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string Locale { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string Alt { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="imageL10n"></param>
|
|
public ImageL10nModel(ImageL10n imageL10n) {
|
|
Locale = imageL10n.Locale.Name;
|
|
Alt = imageL10n.Alt;
|
|
}
|
|
}
|
|
}
|