TourClientListDto.cs 8.6 KB

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