GeneralBasicOCRDto.cs 718 B

1234567891011121314151617181920212223242526272829303132
  1. using FluentValidation;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace OASystem.Domain.Dtos.Tencent
  8. {
  9. /// <summary>
  10. /// 通用文字识别
  11. /// 请求类
  12. /// </summary>
  13. public class GeneralBasicOCRDto : OCRDtoBase
  14. {
  15. }
  16. /// <summary>
  17. /// 验证
  18. /// </summary>
  19. public class GeneralBasicOCRDtoFoalidator : AbstractValidator<GeneralBasicOCRDto>
  20. {
  21. /// <summary>
  22. /// 通用文字识别 请求参数验证
  23. /// </summary>
  24. public GeneralBasicOCRDtoFoalidator()
  25. {
  26. Include(new OCRDtoBaseFoalidator()); //继承基类验证规则
  27. }
  28. }
  29. }