InvitationAI.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. using Microsoft.AspNetCore.Http;
  2. using OASystem.Domain.Entities.Resource;
  3. namespace OASystem.Domain.Dtos.Resource
  4. {
  5. public class InvitationAI
  6. {
  7. }
  8. /// <summary>
  9. /// 商邀资料AI 混元AI查询资料 Dto
  10. /// </summary>
  11. public class InvitationAISetPromptDto
  12. {
  13. /// <summary>
  14. /// 公务名称
  15. /// 默认团组名称 团组名称不改变的情况下则用团组名称作为公务名称
  16. /// </summary>
  17. public string InvName { get; set; }
  18. public int GroupId { get; set; }
  19. /// <summary>
  20. /// 出访单位
  21. /// </summary>
  22. public string OriginUnit { get; set; }
  23. /// <summary>
  24. /// 出访国家
  25. /// </summary>
  26. public List<string> TargetCountry { get; set; }
  27. /// <summary>
  28. /// 出访目的
  29. /// </summary>
  30. public string Objective { get; set; }
  31. /// <summary>
  32. /// 行业信息
  33. /// 信息技术、金融与财会、工业制造、医疗保健、政府与公共服务、消费与贸易
  34. /// </summary>
  35. public List<string> Industries { get; set; } = new List<string>();
  36. /// <summary>
  37. /// 规模类型
  38. /// </summary>
  39. public List<string> ScaleTypes { get; set; } = new List<string>();
  40. /// <summary>
  41. /// 是否需要华人单位背景
  42. /// </summary>
  43. public bool IsBackground { get; set; } = false;
  44. /// <summary>
  45. /// 备注信息
  46. /// </summary>
  47. public string OtherConstraints { get; set; }
  48. public int CurrUserId { get; set; }
  49. }
  50. public class InvitationAISetCheckedDto : InvitationAISearchDto
  51. {
  52. public List<string> Guids { get; set; }
  53. }
  54. public class InvitationAISearchDto
  55. {
  56. public int Id { get; set; }
  57. public int CurrUserId { get; set; }
  58. }
  59. public class InvitationAICompleteTextDto : InvitationAISearchDto
  60. { }
  61. public class InvitationAISeedEmailDto: InvitationAISearchDto
  62. {
  63. public List<string> Guids { get; set; }
  64. }
  65. public class InvitationAISaveDto : InvitationAISearchDto
  66. {
  67. public InvitationAIInfo AiCrawledDetail { get; set; }
  68. }
  69. public class InvitationAIEmailSaveDto : InvitationAISearchDto
  70. {
  71. /// <summary>
  72. /// Guid
  73. /// </summary>
  74. public string Guid { get; set; }
  75. /// <summary>
  76. /// 邮件标题
  77. /// </summary>
  78. public string EmailTitle { get; set; }
  79. /// <summary>
  80. /// 邮箱内容
  81. /// </summary>
  82. public string EmailContent { get; set; }
  83. }
  84. public class InvitationAIFileSaveDto : InvitationAISearchDto
  85. {
  86. /// <summary>
  87. /// Guid
  88. /// </summary>
  89. public string Guid { get; set; }
  90. /// <summary>
  91. /// 附件
  92. /// </summary>
  93. public List<IFormFile> Attachments { get; set; }
  94. }
  95. public class InvitationAIFileDelDto : InvitationAISearchDto
  96. {
  97. /// <summary>
  98. /// Guid
  99. /// </summary>
  100. public string Guid { get; set; }
  101. /// <summary>
  102. /// 附件Names
  103. /// </summary>
  104. public List<string> AttachmentNames { get; set; }
  105. }
  106. public class InvitationAIGenerateEmailDto: InvitationAISearchDto
  107. {
  108. /// <summary>
  109. /// Guid
  110. /// </summary>
  111. public List<string> Guids { get; set; }
  112. }
  113. public class InvitationAISingleDelDto
  114. {
  115. public int Id { get; set; }
  116. public string Guid { get; set; }
  117. }
  118. public class InvitationAIInsertResourceDto: InvitationAIGenerateEmailDto
  119. { }
  120. }