35 lines
939 B
C#
35 lines
939 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace IO.Swagger.Models.ResponseDto
|
|
{
|
|
/// <summary>
|
|
/// The output DTO for basic currency information
|
|
/// </summary>
|
|
public class CurrencyDto
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the currency identifier.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The currency identifier.
|
|
/// </value>
|
|
public int CurrencyId { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the name of the currency.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The name.
|
|
/// </value>
|
|
[StringLength(32, MinimumLength = 1)]
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the symbol of the currency.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The symbol.
|
|
/// </value>
|
|
[StringLength(4, MinimumLength = 1)]
|
|
public string Symbol { get; set; }
|
|
}
|
|
}
|