reactredux/webapi/WeatherForecast/Models/AuthorModel.cs

25 lines
463 B
C#

using Core.DomainObjects;
using WeatherForecast.Models.Abstractions;
namespace WeatherForecast.Models {
/// <summary>
///
/// </summary>
public class AuthorModel : PersonModelBase<Author> {
/// <summary>
///
/// </summary>
public string NickName { get; set; }
/// <summary>
///
/// </summary>
/// <param name="author"></param>
public AuthorModel(Author author) {
NickName = author.NickName;
}
}
}