DelegationInfoView.cs 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  1. using Newtonsoft.Json;
  2. using OASystem.Domain.Dtos;
  3. using OASystem.Domain.Entities.Groups;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.ComponentModel;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace OASystem.Domain.ViewModels.Groups
  11. {
  12. /// <summary>
  13. /// 接团信息
  14. /// 返回视图
  15. /// </summary>
  16. public class DelegationInfoView : Grp_DelegationInfo { }
  17. /// <summary>
  18. /// 接团信息详情 共享
  19. /// 返回视图
  20. /// </summary>
  21. public class ShareGroupInfoView
  22. {
  23. /// <summary>
  24. /// 主键Id
  25. /// </summary>
  26. public int Id { get; set; }
  27. /// <summary>
  28. /// 团号
  29. /// </summary>
  30. public string? TourCode { get; set; }
  31. /// <summary>
  32. /// 客户名称
  33. /// </summary>
  34. public string? ClientName { get; set; }
  35. /// <summary>
  36. /// 出访国家
  37. /// </summary>
  38. public string? VisitCountry { get; set; }
  39. /// <summary>
  40. /// 出团开始日期
  41. /// </summary>
  42. public DateTime VisitStartDate { get; set; }
  43. /// <summary>
  44. /// 出团结束日期
  45. /// </summary>
  46. public DateTime VisitEndDate { get; set; }
  47. /// <summary>
  48. /// 出行天数
  49. /// </summary>
  50. public int VisitDays { get; set; }
  51. /// <summary>
  52. /// 出行人数
  53. /// </summary>
  54. public int VisitPNumber { get; set; }
  55. }
  56. /// <summary>
  57. /// 接团信息详情 共享
  58. /// 返回视图
  59. /// </summary>
  60. public class ShareGroupInfoIIView
  61. {
  62. /// <summary>
  63. /// 主键Id
  64. /// </summary>
  65. public int Id { get; set; }
  66. /// <summary>
  67. /// 团组名称
  68. /// </summary>
  69. public string? teamName { get; set; }
  70. /// <summary>
  71. /// 团号
  72. /// </summary>
  73. public string? TourCode { get; set; }
  74. /// <summary>
  75. /// 客户名称
  76. /// </summary>
  77. public string? ClientName { get; set; }
  78. /// <summary>
  79. /// 出访国家
  80. /// </summary>
  81. public string? VisitCountry { get; set; }
  82. /// <summary>
  83. /// 出团起止日期
  84. /// </summary>
  85. public string? VisitDate { get; set; }
  86. /// <summary>
  87. /// 出行天数
  88. /// </summary>
  89. public int VisitDays { get; set; }
  90. /// <summary>
  91. /// 出行人数
  92. /// </summary>
  93. public int VisitPNumber { get; set; }
  94. }
  95. /// <summary>
  96. /// 接团信息详情
  97. /// 返回视图
  98. /// </summary>
  99. public class DelegationInfoWebView
  100. {
  101. /// <summary>
  102. /// 主键Id
  103. /// </summary>
  104. public int Id { get; set; }
  105. /// <summary>
  106. /// 销售报价号
  107. /// </summary>
  108. public string? SalesQuoteNo { get; set; }
  109. /// <summary>
  110. /// 团号
  111. /// </summary>
  112. public string? TourCode { get; set; }
  113. /// <summary>
  114. /// 接团人ID
  115. /// </summary>
  116. public int JietuanOperator { get; set; }
  117. /// <summary>
  118. /// 团组等级
  119. /// </summary>
  120. public int TeamLevSId { get; set; }
  121. /// <summary>
  122. /// 团组类型
  123. /// </summary>
  124. public int TeamDid { get; set; }
  125. /// <summary>
  126. /// 团组名称
  127. /// </summary>
  128. public string? TeamName { get; set; }
  129. /// <summary>
  130. /// 客户名称
  131. /// </summary>
  132. public string? ClientName { get; set; }
  133. /// <summary>
  134. /// 客户所属公司
  135. /// </summary>
  136. public string? ClientUnit { get; set; }
  137. /// <summary>
  138. /// 出访国家
  139. /// </summary>
  140. public string? VisitCountry { get; set; }
  141. /// <summary>
  142. /// 出团日期
  143. /// </summary>
  144. public DateTime VisitDate { get; set; }
  145. /// <summary>
  146. /// 出行天数
  147. /// </summary>
  148. public int VisitDays { get; set; }
  149. /// <summary>
  150. /// 出行人数
  151. /// </summary>
  152. public int VisitPNumber { get; set; }
  153. /// <summary>
  154. /// 合同时间
  155. /// </summary>
  156. public DateTime TontractTime { get; set; }
  157. /// <summary>
  158. /// 预付期限
  159. /// </summary>
  160. public int PayDay { get; set; }
  161. /// <summary>
  162. /// 预付金额
  163. /// </summary>
  164. public decimal PaymentMoney { get; set; }
  165. /// <summary>
  166. /// 出访目的
  167. /// </summary>
  168. public string? VisitPurpose { get; set; }
  169. /// <summary>
  170. /// 特俗需求
  171. /// </summary>
  172. public string? SpecialNeeds { get; set; }
  173. /// <summary>
  174. /// 其他需求
  175. /// </summary>
  176. public string? OtherNeeds { get; set; }
  177. /// <summary>
  178. /// 出国任务审批部门名称
  179. /// </summary>
  180. public string? CGRWSPBMMC { get; set; }
  181. /// <summary>
  182. /// 出国任务审批文号
  183. /// </summary>
  184. public string? CGRWSPWH { get; set; }
  185. /// <summary>
  186. /// 政治审查部门名称
  187. /// </summary>
  188. public string? ZZSCBMMC { get; set; }
  189. /// <summary>
  190. /// 政治审查部门审批文号
  191. /// </summary>
  192. public string? ZZSCSPWH { get; set; }
  193. /// <summary>
  194. /// 备注
  195. /// </summary>
  196. public string? Remark { get; set; }
  197. /// <summary>
  198. /// 手机号
  199. /// </summary>
  200. public string? TellPhone { get; set; }
  201. /// <summary>
  202. /// op提成等级
  203. /// </summary>
  204. public int OpRoyaltyLv { get; set; }
  205. /// <summary>
  206. /// 提成等级说明
  207. /// </summary>
  208. public string? OpRoyaltyRemark { get; set; }
  209. }
  210. /// <summary>
  211. /// 接团信息列表
  212. /// 返回视图
  213. /// </summary>
  214. public class DelegationListView
  215. {
  216. /// <summary>
  217. /// 主键Id
  218. /// 团组Id
  219. /// </summary>
  220. public int Id { get; set; }
  221. /// <summary>
  222. /// 销售报价号
  223. /// </summary>
  224. public string? SalesQuoteNo { get; set; }
  225. /// <summary>
  226. /// 团号
  227. /// </summary>
  228. public string? TourCode { get; set; }
  229. /// <summary>
  230. /// 接团操作人
  231. /// </summary>
  232. public string? JietuanOperator { get; set; }
  233. /// <summary>
  234. /// 团组等级Id
  235. /// </summary>
  236. public int TeamLevId { get; set; }
  237. /// <summary>
  238. /// 团组等级
  239. /// </summary>
  240. public string? TeamLev { get; set; }
  241. /// <summary>
  242. /// 团组类型Id
  243. /// </summary>
  244. public int TeamTypeId { get; set; }
  245. /// <summary>
  246. /// 团组类型
  247. /// </summary>
  248. public string? TeamType { get; set; }
  249. /// <summary>
  250. /// 团组名称
  251. /// </summary>
  252. public string? TeamName { get; set; }
  253. /// <summary>
  254. /// 客户名称
  255. /// </summary>
  256. public string? ClientName { get; set; }
  257. /// <summary>
  258. /// 客户所属公司
  259. /// </summary>
  260. public string? ClientUnit { get; set; }
  261. /// <summary>
  262. /// 出团日期
  263. /// </summary>
  264. public DateTime VisitDate { get; set; }
  265. /// <summary>
  266. /// 出行天数
  267. /// </summary>
  268. public int VisitDays { get; set; }
  269. /// <summary>
  270. /// 出行人数
  271. /// </summary>
  272. public int VisitPNumber { get; set; }
  273. /// <summary>
  274. /// 是否操作完成
  275. /// 0否1是
  276. /// </summary>
  277. public int IsSure { get; set; }
  278. }
  279. /// <summary>
  280. /// 团组信息 Page List
  281. /// </summary>
  282. public class DelegationPageListView : DelegationListView
  283. {
  284. /// <summary>
  285. /// 行号
  286. /// </summary>
  287. public int RowNumber { get; set; }
  288. }
  289. /// <summary>
  290. /// 团组信息 Page List
  291. /// </summary>
  292. public class DelegationPageCountView
  293. {
  294. /// <summary>
  295. /// 行号
  296. /// </summary>
  297. public int Count { get; set; }
  298. }
  299. /// <summary>
  300. /// 团组编号
  301. /// </summary>
  302. public class TeamCodeView
  303. {
  304. public string TourCode { get; set; }
  305. }
  306. /// <summary>
  307. /// 销售编号
  308. /// </summary>
  309. public class SalesQuoteNoView
  310. {
  311. public string SalesQuoteNo { get; set; }
  312. }
  313. /// <summary>
  314. /// 团组名称
  315. /// 返回视图
  316. /// </summary>
  317. public class GroupNameView
  318. {
  319. /// <summary>
  320. /// 团组Id
  321. /// </summary>
  322. public int Id { get; set; }
  323. /// <summary>
  324. /// 团组名称
  325. /// </summary>
  326. public string GroupName { get; set; }
  327. }
  328. /// <summary>
  329. /// 根据团组ID 查询客户
  330. /// </summary>
  331. public class CrmByGroupIdView
  332. {
  333. /// <summary>
  334. /// 团组Id
  335. /// </summary>
  336. public int GrpId { get; set; }
  337. /// <summary>
  338. /// 客户名称
  339. /// </summary>
  340. public string clientName { get; set; }
  341. /// <summary>
  342. /// 客户手机号
  343. /// </summary>
  344. public string Tel { get; set; }
  345. /// <summary>
  346. /// 客户身份证号码
  347. /// </summary>
  348. public string CerdNo { get; set; }
  349. }
  350. }