CurrencyExchangeRateUpdateDto.cs 752 B

123456789101112131415161718192021
  1. using System;
  2. using Abp.AutoMapper;
  3. using Abp.Application.Services.Dto;
  4. using System.ComponentModel.DataAnnotations;
  5. namespace ShwasherSys.BasicInfo.Dto
  6. {
  7. [AutoMapTo(typeof(CurrencyExchangeRate))]
  8. public class CurrencyExchangeRateUpdateDto: EntityDto<int>
  9. {
  10. [StringLength(CurrencyExchangeRate.CurrencyIdMaxLength)]
  11. public string FromCurrencyId { get; set; }
  12. [StringLength(CurrencyExchangeRate.CurrencyIdMaxLength)]
  13. public string ToCurrencyId { get; set; }
  14. public decimal? ExchangeRate { get; set; }
  15. public DateTime? TimeCreated { get; set; }
  16. public DateTime? TimeLastMod { get; set; }
  17. [StringLength(CurrencyExchangeRate.UserIdLastModMaxLength)]
  18. public string UserIDLastMod { get; set; }
  19. }
  20. }