DeleClientAddDto.cs 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Globalization;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace OASystem.Domain.Dtos.CRM
  8. {
  9. public class DeleClientOpDto
  10. {
  11. /// <summary>
  12. /// 操作状态
  13. /// 1 添加
  14. /// 2 修改
  15. /// </summary>
  16. public int Status { get; set; }
  17. /// <summary>
  18. /// 客户资料信息
  19. /// </summary>
  20. public DeleClient DeleClient { get; set; }
  21. public List<CustomerFamily> CustomerFamily { get; set; }
  22. public List<CustomerCerts> CustomerCert { get; set; }
  23. public List<VisaCustomerCompany> WorkExperience { get; set; }
  24. public List<VisaCustomerSchool> CustomerSchool { get; set; }
  25. }
  26. /// <summary>
  27. /// 客户资料修改
  28. /// </summary>
  29. public class DeleClient
  30. {
  31. public int MyProperty { 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. /// 中文姓名
  42. /// </summary>
  43. public string LastName { get; set; }
  44. /// <summary>
  45. /// 英文姓名
  46. /// </summary>
  47. public string FirstName { get; set; }
  48. /// <summary>
  49. /// 曾用名
  50. /// </summary>
  51. public string OldName { get; set; }
  52. /// <summary>
  53. /// 名字拼音
  54. /// </summary>
  55. public string Pinyin { get; set; }
  56. /// <summary>
  57. /// 性别 0男1女
  58. /// </summary>
  59. public int Sex { get; set; }
  60. /// <summary>
  61. /// 婚姻状况 0、1、2、3、4 (未设置、未婚、已婚、离异、丧偶)
  62. /// </summary>
  63. public int Marriage { get; set; }
  64. /// <summary>
  65. /// 客户手机号
  66. /// </summary>
  67. public string Phone { get; set; }
  68. /// <summary>
  69. /// 出生省份
  70. /// </summary>
  71. public string BirthProvince { get; set; }
  72. /// <summary>
  73. /// 出生城市
  74. /// </summary>
  75. public string BirthCity { get; set; }
  76. /// <summary>
  77. /// 出生日期
  78. /// </summary>
  79. public string BirthDay { get; set; }
  80. /// <summary>
  81. /// 机票喜好舱位
  82. /// </summary>
  83. public string AirType { get; set; }
  84. /// <summary>
  85. /// 是否靠窗
  86. /// </summary>
  87. public int SeatPref { get; set; }
  88. /// <summary>
  89. /// 机票备注
  90. /// </summary>
  91. public string AirRemark { get; set; }
  92. /// <summary>
  93. /// 酒店喜好房型
  94. /// </summary>
  95. public string RoomType { get; set; }
  96. /// <summary>
  97. /// 酒店需求
  98. /// </summary>
  99. public string RoomPref { get; set; }
  100. /// <summary>
  101. /// 家庭联系方式
  102. /// </summary>
  103. public string Tel { get; set; }
  104. /// <summary>
  105. /// 客户电子邮件
  106. /// </summary>
  107. public string Email { get; set; }
  108. /// <summary>
  109. /// 住址
  110. /// </summary>
  111. public string Address { get; set; }
  112. /// <summary>
  113. /// 最高学历
  114. /// </summary>
  115. public string HighestEducation { get; set; }
  116. /// <summary>
  117. /// 邮编
  118. /// </summary>
  119. public string PostCodes { get; set; }
  120. /// <summary>
  121. /// 客户公司Id
  122. /// </summary>
  123. public int CrmCompanyId { get; set; }
  124. /// <summary>
  125. /// 职位
  126. /// </summary>
  127. public string Job { get; set; }
  128. /// <summary>
  129. /// 本人工作内容
  130. /// </summary>
  131. public string WorkState { get; set; }
  132. /// <summary>
  133. /// 入职时间
  134. /// </summary>
  135. public string WorkDate { get; set; }
  136. /// <summary>
  137. /// 薪资
  138. /// </summary>
  139. public string Wage { get; set; }
  140. /// <summary>
  141. /// (单位/部门)电话
  142. /// </summary>
  143. public string ClientPhone { get; set; }
  144. /// <summary>
  145. /// (单位/部门)传真
  146. /// </summary>
  147. public string ClientFax { get; set; }
  148. /// <summary>
  149. /// (单位/部门)邮箱
  150. /// </summary>
  151. public string ClientEmail { get; set; }
  152. /// <summary>
  153. /// (单位/部门)负责人姓名
  154. /// </summary>
  155. public string ClientLeader { get; set; }
  156. /// <summary>
  157. /// (单位/部门)负责人职务
  158. /// </summary>
  159. public string ClientLeaderJob { get; set; }
  160. /// <summary>
  161. /// 是否有获批的申根签证
  162. /// 0否1是
  163. /// </summary>
  164. public int IsGetSchengen { get; set; }
  165. /// <summary>
  166. /// 申根有效期
  167. /// </summary>
  168. public DateTime StartTime { get; set; }
  169. /// <summary>
  170. /// 申根有效期
  171. /// </summary>
  172. public DateTime EndTime { get; set; }
  173. /// <summary>
  174. /// 申根是否在使馆有指纹记录
  175. /// 0否1是
  176. /// </summary>
  177. public int IsFinger { get; set; }
  178. /// <summary>
  179. /// 申根指纹录入时间
  180. /// </summary>
  181. public DateTime FingerDate { get; set; }
  182. /// <summary>
  183. /// 是否因公去过美国/加拿大
  184. /// 0否1是
  185. /// </summary>
  186. public int IsVisitUC { get; set; }
  187. /// <summary>
  188. /// 美国抵达日期
  189. /// </summary>
  190. public DateTime USADate { get; set; }
  191. /// <summary>
  192. /// 美国停留天数
  193. /// </summary>
  194. public int USADays { get; set; }
  195. /// <summary>
  196. /// 加拿大抵达日期
  197. /// </summary>
  198. public DateTime CanDate { get; set; }
  199. /// <summary>
  200. /// 加拿大停留天数
  201. /// </summary>
  202. public int CanDays { get; set; }
  203. /// <summary>
  204. /// 是否曾获得过因公美国签证 0否1是
  205. /// </summary>
  206. public int IsUSAVia { get; set; }
  207. /// <summary>
  208. /// 因公美国签证最近获得时间
  209. /// 0否1是
  210. /// </summary>
  211. public DateTime GetUSAVisaDate { get; set; }
  212. /// <summary>
  213. /// 因公美国签证地点
  214. /// </summary>
  215. public string GetUPPlace { get; set; }
  216. /// <summary>
  217. /// 因公美国签证种类
  218. /// </summary>
  219. public string USAVisaCate { get; set; }
  220. /// <summary>
  221. /// 因公美国签证编码
  222. /// </summary>
  223. public string USAVisaCode { get; set; }
  224. /// <summary>
  225. /// 是否在使馆留过十指的指纹 0否1是
  226. /// </summary>
  227. public int USAFinger { get; set; }
  228. /// <summary>
  229. /// 是否曾经被拒签 0否1是
  230. /// </summary>
  231. public int IsRejected { get; set; }
  232. /// <summary>
  233. /// 被拒时间
  234. /// </summary>
  235. public DateTime RejectedDate { get; set; }
  236. /// <summary>
  237. /// 被拒地点
  238. /// </summary>
  239. public string RejectedPlace { get; set; }
  240. /// <summary>
  241. /// 被拒签证种类
  242. /// </summary>
  243. public string RejectedVisa { get; set; }
  244. /// <summary>
  245. /// 美国签证是否被吊销过 0否1是
  246. /// </summary>
  247. public int IsRevoke { get; set; }
  248. /// <summary>
  249. /// 护照是否曾经丢失 0否1是
  250. /// </summary>
  251. public int IsLose { get; set; }
  252. /// <summary>
  253. /// 丢失护照时间
  254. /// </summary>
  255. public DateTime LoseDate { get; set; }
  256. /// <summary>
  257. /// 丢失护照编号
  258. /// </summary>
  259. public string LoseCode { get; set; }
  260. /// <summary>
  261. /// 丢失的护照是否有美国签证 0否1是
  262. /// </summary>
  263. public int IsUSAVisa { get; set; }
  264. /// <summary>
  265. /// 夫/妻是否已在美国
  266. /// 0否1是
  267. /// </summary>
  268. public int MateUSA { get; set; }
  269. /// <summary>
  270. /// 夫/妻身份
  271. /// </summary>
  272. public string MateIden { get; set; }
  273. /// <summary>
  274. /// 未婚夫/妻是否已在美国 0否1是
  275. /// </summary>
  276. public int WHUSA { get; set; }
  277. /// <summary>
  278. /// 未婚夫/妻身份
  279. /// </summary>
  280. public string WHIden { get; set; }
  281. /// <summary>
  282. /// 父/母是否已在美国
  283. /// 0否1是
  284. /// </summary>
  285. public int ParentUSA { get; set; }
  286. /// <summary>
  287. /// 父/母身份
  288. /// </summary>
  289. public string ParentIden { get; set; }
  290. /// <summary>
  291. /// 子/女是否已在美国 0否1是
  292. /// </summary>
  293. public int ChildUSA { get; set; }
  294. /// <summary>
  295. /// 子/女身份
  296. /// </summary>
  297. public string ChildIden { get; set; }
  298. /// <summary>
  299. /// 兄弟/姐妹是否已在美国 0否1是
  300. /// </summary>
  301. public int BroUSA { get; set; }
  302. /// <summary>
  303. /// 兄弟/姐妹身份
  304. /// </summary>
  305. public string BroIden { get; set; }
  306. /// <summary>
  307. /// 所属/捐助/工作过的职业协会、社会团体和慈善机构
  308. /// </summary>
  309. public string Social { get; set; }
  310. /// <summary>
  311. /// 是否参军
  312. /// 0否1是
  313. /// </summary>
  314. public int IsArmy { get; set; }
  315. /// <summary>
  316. /// 参军详情
  317. /// </summary>
  318. public string ArmyState { get; set; }
  319. /// <summary>
  320. /// 在外期间费用承担人
  321. /// </summary>
  322. public string CostBearers { get; set; }
  323. /// <summary>
  324. /// 填表经办人
  325. /// </summary>
  326. public string TableOpName { get; set; }
  327. /// <summary>
  328. /// 填表经办人联系电话
  329. /// </summary>
  330. public string TableOpTel { get; set; }
  331. /// <summary>
  332. /// 填表日期
  333. /// </summary>
  334. public DateTime TableDate { get; set; }
  335. /// <summary>
  336. /// 所属党派或宗教
  337. /// </summary>
  338. public string Party { get; set; }
  339. /// <summary>
  340. /// 国籍
  341. /// </summary>
  342. public string Nationality { get; set; }
  343. /// <summary>
  344. /// 结婚日期
  345. /// </summary>
  346. public DateTime WeddingDate { get; set; }
  347. /// <summary>
  348. /// 离婚日期
  349. /// </summary>
  350. public DateTime DivorceDate { get; set; }
  351. /// <summary>
  352. /// 配偶姓名
  353. /// </summary>
  354. public string MateName { get; set; }
  355. /// <summary>
  356. /// 配偶出生日期
  357. /// </summary>
  358. public DateTime MateBirthDay { get; set; }
  359. /// <summary>
  360. /// 配偶出生城市
  361. /// </summary>
  362. public string MateBirthCity { get; set; }
  363. /// <summary>
  364. /// 配偶出生国家省份
  365. /// </summary>
  366. public string MateBirthCountry { get; set; }
  367. /// <summary>
  368. /// 配偶住址
  369. /// </summary>
  370. public string MateAddress { get; set; }
  371. /// <summary>
  372. /// 配偶工作单位
  373. /// </summary>
  374. public string MateClient { get; set; }
  375. /// <summary>
  376. /// 配偶工作单位地址
  377. /// </summary>
  378. public string MateClientAddress { get; set; }
  379. /// <summary>
  380. /// 配偶职务
  381. /// </summary>
  382. public string MateJob { get; set; }
  383. /// <summary>
  384. /// 因公出访国家
  385. /// </summary>
  386. public string VisitCountry { get; set; }
  387. /// <summary>
  388. /// 发表的期刊/论文
  389. /// </summary>
  390. public string Paper { get; set; }
  391. /// <summary>
  392. /// 专利
  393. /// </summary>
  394. public string Papent { get; set; }
  395. /// <summary>
  396. /// 发表的博士论文
  397. /// </summary>
  398. public string PhD { get; set; }
  399. /// <summary>
  400. /// 创建者Id
  401. /// </summary>
  402. public int CreateUserId { get; set; }
  403. /// <summary>
  404. /// 备注
  405. /// </summary>
  406. public string Remark { get; set; }
  407. }
  408. /// <summary>
  409. /// 家庭成员资料修改
  410. /// </summary>
  411. public class CustomerFamily
  412. {
  413. /// <summary>
  414. /// 编号
  415. /// </summary>
  416. public int Id { get; set; }
  417. /// <summary>
  418. /// 客户表ID
  419. /// </summary>
  420. public int DcId { get; set; }
  421. /// <summary>
  422. /// 家庭成员称谓
  423. /// SetData = 40 签证客户家人称谓 读取时使用
  424. /// 存储时 存储name
  425. /// </summary>
  426. public string Appellation { get; set; }
  427. /// <summary>
  428. /// 家庭成员姓名
  429. /// </summary>
  430. public string Name { get; set; }
  431. /// <summary>
  432. /// 家庭成员出生日期
  433. /// </summary>
  434. public DateTime BirthDay { get; set; }
  435. /// <summary>
  436. /// 家庭成员出生地
  437. /// </summary>
  438. public string BirthPlace { get; set; }
  439. /// <summary>
  440. /// 家庭成员政治面貌
  441. /// </summary>
  442. public string Politics { get; set; }
  443. /// <summary>
  444. /// 家庭成员工作单位
  445. /// </summary>
  446. public string Client { get; set; }
  447. /// <summary>
  448. /// 家庭地址
  449. /// </summary>
  450. public string Address { get; set; }
  451. /// <summary>
  452. /// 是否欧盟公民 0否1是
  453. /// </summary>
  454. public int IsEu { get; set; }
  455. /// <summary>
  456. /// 拥有欧盟、欧洲经济区或瑞士公民身份的家庭成员姓名
  457. /// </summary>
  458. public string NameSnd { get; set; }
  459. /// <summary>
  460. /// 拥有欧盟、欧洲经济区或瑞士公民身份的家庭成员生日
  461. /// </summary>
  462. public DateTime BirthDaySnd { get; set; }
  463. /// <summary>
  464. /// 拥有欧盟、欧洲经济区或瑞士公民身份的家庭成员国籍
  465. /// </summary>
  466. public string Nationality { get; set; }
  467. /// <summary>
  468. /// 拥有欧盟、欧洲经济区或瑞士公民身份的家庭成员旅行证件编号或身份证号码
  469. /// </summary>
  470. public string IDCard { get; set; }
  471. /// <summary>
  472. /// 拥有欧盟、欧洲经济区或瑞士公民身份的家庭成员与申请人的关系
  473. /// </summary>
  474. public string Reletionship { get; set; }
  475. /// <summary>
  476. /// 家庭成员是否在美国
  477. /// </summary>
  478. public int IsUSA { get; set; }
  479. /// <summary>
  480. /// 创建者Id
  481. /// </summary>
  482. public int CreateUserId { get; set; }
  483. /// <summary>
  484. /// 备注
  485. /// </summary>
  486. public string Remark { get; set; }
  487. }
  488. /// <summary>
  489. /// 证件信息修改
  490. /// </summary>
  491. public class CustomerCerts
  492. {
  493. /// <summary>
  494. /// 编号
  495. /// </summary>
  496. public int Id { get; set; }
  497. /// <summary>
  498. /// 客户信息表Id
  499. /// </summary>
  500. public int DcId { get; set; }
  501. /// <summary>
  502. /// 证件类型表Id
  503. /// </summary>
  504. public int SdId { get; set; }
  505. /// <summary>
  506. /// 证件号
  507. /// </summary>
  508. public string CertNo { get; set; }
  509. /// <summary>
  510. /// 签发国
  511. /// </summary>
  512. public string Country { get; set; }
  513. /// <summary>
  514. /// 签发地区
  515. /// </summary>
  516. public string Area { get; set; }
  517. /// <summary>
  518. /// 目的地国家
  519. /// </summary>
  520. public string TargetCountry { get; set; }
  521. /// <summary>
  522. /// 有效期起始时间
  523. /// </summary>
  524. public DateTime IssueDt { get; set; }
  525. /// <summary>
  526. /// 有效期截止时间
  527. /// </summary>
  528. public DateTime ExpiryDt { get; set; }
  529. /// <summary>
  530. /// 身份证户籍地址
  531. /// </summary>
  532. public string IDCardAddress { get; set; }
  533. /// <summary>
  534. /// 创建者Id
  535. /// </summary>
  536. public int CreateUserId { get; set; }
  537. /// <summary>
  538. /// 备注
  539. /// </summary>
  540. public string Remark { get; set; }
  541. }
  542. /// <summary>
  543. /// 客户工作经历表
  544. /// </summary>
  545. public class VisaCustomerCompany
  546. {
  547. /// <summary>
  548. /// 编号
  549. /// </summary>
  550. public int Id { get; set; }
  551. /// <summary>
  552. /// 客户表ID
  553. /// </summary>
  554. public int DcId { get; set; }
  555. /// <summary>
  556. /// 公司名称
  557. /// </summary>
  558. public string Company { get; set; }
  559. /// <summary>
  560. /// 公司地址
  561. /// </summary>
  562. public string CompanyAddress { get; set; }
  563. /// <summary>
  564. /// 公司电话
  565. /// </summary>
  566. public string Phone { get; set; }
  567. /// <summary>
  568. /// 职务
  569. /// </summary>
  570. public string Job { get; set; }
  571. /// <summary>
  572. /// 主管名字
  573. /// </summary>
  574. public string LeaderName { get; set; }
  575. /// <summary>
  576. /// 雇佣起始年月日
  577. /// </summary>
  578. public DateTime WorkStart { get; set; }
  579. /// <summary>
  580. /// 雇佣结束年月日
  581. /// </summary>
  582. public DateTime WorkEnd { get; set; }
  583. /// <summary>
  584. /// 工作职责及内容简述
  585. /// </summary>
  586. public string WorkState { get; set; }
  587. /// <summary>
  588. /// 创建者Id
  589. /// </summary>
  590. public int CreateUserId { get; set; }
  591. /// <summary>
  592. /// 备注
  593. /// </summary>
  594. public string Remark { get; set; }
  595. }
  596. /// <summary>
  597. /// 客户学历表
  598. /// </summary>
  599. public class VisaCustomerSchool
  600. {
  601. /// <summary>
  602. /// 编号
  603. /// </summary>
  604. public int Id { get; set; }
  605. /// <summary>
  606. /// 客户表ID
  607. /// </summary>
  608. public int DcId { get; set; }
  609. /// <summary>
  610. /// 学校名称和学历
  611. /// </summary>
  612. public string School { get; set; }
  613. /// <summary>
  614. /// 学校地址
  615. /// </summary>
  616. public string Address { get; set; }
  617. /// <summary>
  618. /// 指导老师
  619. /// </summary>
  620. public string Teacher { get; set; }
  621. /// <summary>
  622. /// 学历
  623. /// </summary>
  624. public string Education { get; set; }
  625. /// <summary>
  626. /// 所学课程或专业名称
  627. /// </summary>
  628. public string Subject { get; set; }
  629. /// <summary>
  630. /// 就读起始日
  631. /// </summary>
  632. public DateTime StudyStart { get; set; }
  633. /// <summary>
  634. /// 就读结束日
  635. /// </summary>
  636. public DateTime StudyEnd { get; set; }
  637. /// <summary>
  638. /// 创建者Id
  639. /// </summary>
  640. public int CreateUserId { get; set; }
  641. /// <summary>
  642. /// 备注
  643. /// </summary>
  644. public string Remark { get; set; }
  645. }
  646. public class SetCrmUpdPassIdCardOCRDto
  647. {
  648. public int UserId { get; set; }
  649. public string ClientName { get; set; }
  650. public int Sex { get; set; }
  651. public string CerdNo { get; set; }
  652. public string CerdAddress { get; set; }
  653. public DateTime IssueDt { get; set; }
  654. public DateTime ExpiryDt { get; set; }
  655. }
  656. public class CustomerDto
  657. {
  658. public int Id { get; set; }
  659. }
  660. /// <summary>
  661. /// 删除客户资料
  662. /// </summary>
  663. public class DeleClientDelDto
  664. {
  665. public int Id { get; set; }
  666. public int DeleteUserId { get; set; }
  667. }
  668. public class GuestList
  669. {
  670. /// <summary>
  671. /// 姓名
  672. /// </summary>
  673. public string Name { get; set; }
  674. /// <summary>
  675. /// 性别
  676. /// </summary>
  677. public string Sex { get; set; }
  678. /// <summary>
  679. /// 出身日期
  680. /// </summary>
  681. public string DOB { get; set; }
  682. public string Job { get; set; }
  683. }
  684. }