YouDaoDto.cs 638 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Dtos.SmallFun
  7. {
  8. /// <summary>
  9. /// 有道API翻译
  10. /// 请求dto
  11. /// </summary>
  12. public class YouDaoDto:DtoBase
  13. {
  14. /// <summary>
  15. /// 源语言 Code
  16. /// </summary>
  17. public string? From { get; set; }
  18. /// <summary>
  19. /// 目标语言 Code
  20. /// </summary>
  21. public string? To { get; set; }
  22. /// <summary>
  23. /// 待翻译的文本
  24. /// </summary>
  25. public string? Txt { get; set; }
  26. }
  27. }