OfficialActivitiesDto.cs 5.3 KB

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