OfficialActivitiesDto.cs 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. using Microsoft.AspNetCore.Http;
  2. using OASystem.Domain.ViewModels.Resource;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace OASystem.Domain.Dtos.Resource
  10. {
  11. public class OfficialActivitiesByDiIdDto: DtoBase
  12. {
  13. public int DiId { get; set; }
  14. }
  15. public class OfficialActivitiesDiIdDto
  16. {
  17. public int Id { get; set; }
  18. public int DiId { get; set; }
  19. }
  20. public class OpOfficialActivitiesDto
  21. {
  22. /// <summary>
  23. /// 操作状态
  24. /// 1 添加
  25. /// 2 修改
  26. /// </summary>
  27. public int Status { get; set; }
  28. /// <summary>
  29. /// 公务数据来源
  30. /// </summary>
  31. public int DataSource { get; set; }
  32. /// <summary>
  33. /// 编号
  34. /// </summary>
  35. public int Id { get; set; }
  36. /// <summary>
  37. /// 团组ID
  38. /// </summary>
  39. public int DiId { get; set; }
  40. /// <summary>
  41. /// 邀请方 1 公务方 0
  42. /// </summary>
  43. public int Type { get; set; }
  44. public string Client { get; set; }
  45. /// <summary>
  46. /// 公务日期
  47. /// </summary>
  48. public string Date { get; set; }
  49. /// <summary>
  50. /// 精确时间
  51. /// </summary>
  52. public string Time { get; set; }
  53. /// <summary>
  54. /// 地址
  55. /// </summary>
  56. public string Address { get; set; }
  57. /// <summary>
  58. /// 联系人
  59. /// </summary>
  60. public string Contact { get; set; }
  61. /// <summary>
  62. /// 联系人职务
  63. /// </summary>
  64. public string Job { get; set; }
  65. /// <summary>
  66. /// 联系电话
  67. /// </summary>
  68. public string Tel { get; set; }
  69. /// <summary>
  70. /// 公务形式
  71. /// </summary>
  72. public int OfficialForm { get; set; }
  73. /// <summary>
  74. /// 公务方背景
  75. /// </summary>
  76. public string Setting { get; set; }
  77. /// <summary>
  78. /// 着装要求
  79. /// </summary>
  80. public string Dresscode { get; set; }
  81. /// <summary>
  82. /// 参会人员
  83. /// </summary>
  84. public string Attendees { get; set; }
  85. /// <summary>
  86. /// 是否需要翻译
  87. /// </summary>
  88. public int IsNeedTrans { get; set; }
  89. /// <summary>
  90. /// 翻译人员Id
  91. /// </summary>
  92. public int[] TranslatorIdItem { get; set; }
  93. /// <summary>
  94. /// 翻译语种
  95. /// </summary>
  96. public string language { get; set; }
  97. /// <summary>
  98. /// 暂定行程
  99. /// </summary>
  100. public string Trip { get; set; }
  101. /// <summary>
  102. /// 创建者Id
  103. /// </summary>
  104. public int CreateUserId { get; set; }
  105. /// <summary>
  106. /// 备注
  107. /// </summary>
  108. public string Remark { get; set; }
  109. /// <summary>
  110. /// 是否报批
  111. /// </summary>
  112. public int IsSubmitApproval { get; set; }
  113. /// <summary>
  114. /// 是否付费
  115. /// </summary>
  116. public int IsPay { get; set; }
  117. /// <summary>
  118. /// 国家
  119. /// </summary>
  120. public string Country { get; set; }
  121. /// <summary>
  122. /// 区域
  123. /// </summary>
  124. public string Area { get; set; }
  125. /// <summary>
  126. /// 涉及领域
  127. /// </summary>
  128. public string Field { get; set; }
  129. /// <summary>
  130. /// 请示范例
  131. /// </summary>
  132. public string ReqSample { get; set; }
  133. /// <summary>
  134. /// 邮箱/微信
  135. /// </summary>
  136. public string? EmailOrWeChat { get; set; }
  137. /// <summary>
  138. /// 网址
  139. /// </summary>
  140. public string? Website { get; set; }
  141. /// <summary>
  142. /// 公务性质
  143. /// </summary>
  144. public string Nature { get; set; }
  145. /// <summary>
  146. /// 翻译人员Info
  147. /// </summary>
  148. public TranslatorView? TranslatorInfo { get; set; }
  149. }
  150. public class OfficialActivitiesUploadFilesDto
  151. {
  152. public List<IFormFile> files { get; set; }
  153. public int id { get; set; }
  154. public int diId { get; set; }
  155. public int currUserId { get; set; }
  156. }
  157. public class OfficialActivitiesDelFileDto
  158. {
  159. public int Id { get; set; }
  160. public string FileName { get; set; }
  161. }
  162. public class OfficialActivitiesInviteOperationDto
  163. {
  164. public int Id { get; set; }
  165. /// <summary>
  166. /// 邀请确认
  167. /// 0 未确认 1 已确认
  168. /// </summary>
  169. public int Type { get; set; }
  170. }
  171. /// <summary>
  172. /// 导出请示参数
  173. /// </summary>
  174. public class OfficialActivitiesFileDownload
  175. {
  176. /// <summary>
  177. /// 文件类型
  178. /// 1 省外办出访请示
  179. /// 2 市外办出访请示
  180. /// </summary>
  181. public int FileType { get; set; } = 1;
  182. public int DiId { get; set; }
  183. }
  184. public class ExportOfficialActivitiesInfoDto
  185. {
  186. [Required(ErrorMessage = "请输入开始时间")]
  187. public string StartTime { get; set; }
  188. [Required(ErrorMessage = "请输入结束时间")]
  189. public string EndTime { get; set; }
  190. /// <summary>
  191. /// -1 All 0 未确认 1 已确认
  192. /// </summary>
  193. public int State { get; set; }
  194. }
  195. public class PostOfficialActivitiesReqReqSampleTipsDto
  196. {
  197. public string country { get; set; }
  198. public string area { get; set; }
  199. public string client { get; set; }
  200. }
  201. }