Doxy, -Wall -Werror, other cleanup and organization first round
This commit is contained in:
34
src/IO.Swagger/Models/ResponseDto/CurrencyDto.cs
Normal file
34
src/IO.Swagger/Models/ResponseDto/CurrencyDto.cs
Normal file
@ -0,0 +1,34 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user