TourClientListDto.cs 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Dtos.Groups
  7. {
  8. /// <summary>
  9. /// 接团客户名单
  10. /// </summary>
  11. public class TourClientListDto
  12. {
  13. }
  14. /// <summary>
  15. /// 接团客户名单
  16. /// 根据团组Id查询List
  17. /// </summary>
  18. public class TourClientListByDiIdDto : UserPageFuncDtoBase
  19. {
  20. public int DiId { get; set; }
  21. }
  22. /// <summary>
  23. /// 接团客户名单
  24. /// 基础数据 Dto
  25. /// </summary>
  26. public class TourClientListBasicDataInitDto : UserPageFuncDtoBase { }
  27. /// <summary>
  28. /// 接团客户名单
  29. /// 根据Id 查询 Details
  30. /// </summary>
  31. public class TourClientListDetailsDto : UserPageFuncDtoBase
  32. {
  33. public int Id { get; set; }
  34. }
  35. /// <summary>
  36. /// 接团客户名单
  37. /// Add Or Edit
  38. /// </summary>
  39. public class TourClientListAddOrEditDto : UserPageFuncDtoBase
  40. {
  41. /// <summary>
  42. /// 数据Id
  43. /// Id==0 Add
  44. /// Id>0 Update
  45. /// Id<0 无效
  46. /// </summary>
  47. public int Id { get; set; }
  48. /// <summary>
  49. /// 团组Id
  50. /// </summary>
  51. public int DiId { get; set; }
  52. /// <summary>
  53. /// 是否陪同
  54. /// 1 否 2 是
  55. /// </summary>
  56. public int IsAccompany { get; set; } = 1;
  57. /// <summary>
  58. /// 姓
  59. /// </summary>
  60. public string? LastName { get; set; }
  61. /// <summary>
  62. /// 名
  63. /// </summary>
  64. public string? FirstName { get; set; }
  65. /// <summary>
  66. /// 姓名拼音
  67. /// 姓/名 eg: LEI/YI
  68. /// </summary>
  69. public string? Pinyin { get; set; }
  70. /// <summary>
  71. /// 性别
  72. /// 0 男1 女 -1 未设置
  73. /// </summary>
  74. public int Sex { get; set; }
  75. /// <summary>
  76. /// 手机号
  77. /// </summary>
  78. public string? Phone { get; set; }
  79. /// <summary>
  80. /// 公司名全称
  81. /// </summary>
  82. public string? CompanyFullName { get; set; }
  83. /// <summary>
  84. /// 职位
  85. /// </summary>
  86. public string? Job { get; set; }
  87. /// <summary>
  88. /// 身份证No
  89. /// </summary>
  90. public string? IDCardNo { get; set; }
  91. /// <summary>
  92. /// 生日
  93. /// </summary>
  94. public string? BirthDay { get; set; }
  95. /// <summary>
  96. /// 舱位类型(数据类型表Id)
  97. /// </summary>
  98. public int ShippingSpaceTypeId { get; set; }
  99. /// <summary>
  100. /// 舱位特殊需求
  101. /// </summary>
  102. public string? ShippingSpaceSpecialNeeds { get; set; }
  103. /// <summary>
  104. /// 酒店特殊需求
  105. /// </summary>
  106. public string? HotelSpecialNeeds { get; set; }
  107. /// <summary>
  108. /// 餐食特殊需求
  109. /// </summary>
  110. public string? MealSpecialNeeds { get; set; }
  111. /// <summary>
  112. /// 备注
  113. /// </summary>
  114. public string? Remark { get; set; }
  115. }
  116. /// <summary>
  117. /// 接团客户名单
  118. /// AddMultiple
  119. /// </summary>
  120. public class TourClientListAddMultipleDto : UserPageFuncDtoBase
  121. {
  122. /// <summary>
  123. /// 团组Id
  124. /// </summary>
  125. public int DiId { get; set; }
  126. /// <summary>
  127. /// 接团客户名单
  128. /// AddMultiple Infos
  129. /// </summary>
  130. public List<TourClientListInfo>? TourClientListInfos { get; set; }
  131. }
  132. /// <summary>
  133. /// 接团客户名单
  134. /// AddMultiple Info
  135. /// </summary>
  136. public class TourClientListInfo
  137. {
  138. /// <summary>
  139. /// 是否陪同
  140. /// 1 否 2 是
  141. /// </summary>
  142. public int IsAccompany { get; set; } = 1;
  143. /// <summary>
  144. /// 姓
  145. /// </summary>
  146. public string? LastName { get; set; }
  147. /// <summary>
  148. /// 名
  149. /// </summary>
  150. public string? FirstName { get; set; }
  151. /// <summary>
  152. /// 拼音
  153. /// </summary>
  154. public string Pinyin { get; set; }
  155. /// <summary>
  156. /// 性别
  157. /// 0 男1 女 其他值 未设置
  158. /// </summary>
  159. public int Sex { get; set; }
  160. /// <summary>
  161. /// 公司名全称
  162. /// </summary>
  163. public string? CompanyFullName { get; set; }
  164. /// <summary>
  165. /// 职位
  166. /// </summary>
  167. public string? Job { get; set; }
  168. /// <summary>
  169. /// 身份证No
  170. /// </summary>
  171. public string? IDCardNo { get; set; }
  172. /// <summary>
  173. /// 手机号
  174. /// </summary>
  175. public string? Phone { get; set; }
  176. /// <summary>
  177. /// 生日
  178. /// </summary>
  179. public string? BirthDay { get; set; }
  180. /// <summary>
  181. /// 舱位类型(数据类型表Id)
  182. /// </summary>
  183. public int ShippingSpaceTypeId { get; set; }
  184. /// <summary>
  185. /// 舱位特殊需求
  186. /// </summary>
  187. public string? ShippingSpaceSpecialNeeds { get; set; }
  188. /// <summary>
  189. /// 酒店特殊需求
  190. /// </summary>
  191. public string? HotelSpecialNeeds { get; set; }
  192. /// <summary>
  193. /// 餐食特殊需求
  194. /// </summary>
  195. public string? MealSpecialNeeds { get; set; }
  196. /// <summary>
  197. /// 备注
  198. /// </summary>
  199. public string? Remark { get; set; }
  200. }
  201. public class TourClientListProcessInfo : TourClientListInfo
  202. {
  203. public int Id { get; set; }
  204. }
  205. // <summary>
  206. /// 接团客户名单
  207. /// AddMultiple Info
  208. /// </summary>
  209. public class TourClientListInfo1
  210. {
  211. /// <summary>
  212. /// 姓
  213. /// </summary>
  214. public string LastName { get; set; }
  215. /// <summary>
  216. /// 名
  217. /// </summary>
  218. public string Name { get; set; }
  219. /// <summary>
  220. /// 性别
  221. /// </summary>
  222. public string Sex { get; set; }
  223. /// <summary>
  224. /// 生日
  225. /// </summary>
  226. public string Birthday { get; set; } = null;
  227. /// <summary>
  228. /// 身份证
  229. /// </summary>
  230. public string IDcard { get; set; } = null;
  231. /// <summary>
  232. /// 单位
  233. /// </summary>
  234. public string Company { get; set; }
  235. /// <summary>
  236. /// 职位
  237. /// </summary>
  238. public string Job { get; set; }
  239. /// <summary>
  240. /// 手机号
  241. /// </summary>
  242. public string Phone { get; set; }
  243. /// <summary>
  244. /// 仓位类型
  245. /// </summary>
  246. public int Berth { get; set; } = 460;
  247. /// <summary>
  248. /// 仓位备注
  249. /// </summary>
  250. public string BerthNotes { get; set; }
  251. /// <summary>
  252. /// 房间备注
  253. /// </summary>
  254. public string RoomNotes { get; set; }
  255. /// <summary>
  256. /// 餐食备注
  257. /// </summary>
  258. public string MealNotes { get; set; }
  259. /// <summary>
  260. /// 备注
  261. /// </summary>
  262. public string Remark { get; set; }
  263. }
  264. /// <summary>
  265. /// 接团客户名单
  266. /// Del
  267. /// </summary>
  268. public class TourClientListDelDto : UserPageFuncDtoBase
  269. {
  270. /// <summary>
  271. /// 数据Id
  272. /// Id>=0 Del
  273. /// Id<0 无效
  274. /// </summary>
  275. public int Id { get; set; }
  276. }
  277. /// <summary>
  278. /// 接团客户名单
  279. /// 客户名单下载
  280. /// </summary>
  281. public class PostTourClientListDownloadFile: UserPageFuncDtoBase
  282. {
  283. public int DiId { get; set; }
  284. /// <summary>
  285. /// 语言 0:中文,1:英文
  286. /// </summary>
  287. public int Language { get; set; } = 0;
  288. }
  289. }