Transfer.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using Hotline.Share.Enums.Quality;
  2. using Lucene.Net.Search;
  3. using Newtonsoft.Json.Linq;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace Hotline.Share.Dtos
  10. {
  11. /// <summary>
  12. /// 转写
  13. /// </summary>
  14. public class Transfer
  15. {
  16. public Transfer()
  17. {
  18. }
  19. public Transfer(EQualityTransferType type, string content,string reviseContent, int sort,string prohibited)
  20. {
  21. Type = type;
  22. Content = content;
  23. ReviseContent = reviseContent;
  24. Sort = sort;
  25. Prohibited = prohibited;
  26. }
  27. /// <summary>
  28. /// 转写类型
  29. /// </summary>
  30. public EQualityTransferType Type { get; set; }
  31. /// <summary>
  32. /// 转写内容
  33. /// </summary>
  34. public string? Content { get; set; }
  35. /// <summary>
  36. /// 转写修改后内容
  37. /// </summary>
  38. public string? ReviseContent { get; set; }
  39. /// <summary>
  40. /// 排序
  41. /// </summary>
  42. public int Sort { get; set; }
  43. /// <summary>
  44. /// 违禁词
  45. /// </summary>
  46. public string? Prohibited { get; set; }
  47. }
  48. }