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