VisaDeleClientView.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. using OASystem.Domain.Attributes;
  2. using OASystem.Domain.Entities.Customer;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace OASystem.Domain.ViewModels.CRM
  9. {
  10. /// <summary>
  11. /// 签证客户信息 View
  12. /// </summary>
  13. public class VisaDeleClientView: Crm_DeleClient
  14. { }
  15. /// <summary>
  16. /// 签证客户信息 ListView
  17. /// </summary>
  18. public class VisaDeleClientListView
  19. {
  20. /// <summary>
  21. /// Id
  22. /// </summary>
  23. public int Id { get; set; }
  24. /// <summary>
  25. /// 客户姓名
  26. /// </summary>
  27. public string ClientName { get {
  28. return this.LastName + this.FirstName;
  29. } }
  30. [Encrypted]
  31. public string LastName { get; set; }
  32. [Encrypted]
  33. public string FirstName { get; set; }
  34. /// <summary>
  35. /// 所属公司(全称)
  36. /// </summary>
  37. [Encrypted]
  38. public string CompanyFullName { get; set; }
  39. /// <summary>
  40. /// 性别 0 男 1 女
  41. /// </summary>
  42. public int Sex { get; set; }
  43. /// <summary>
  44. /// 婚姻状态
  45. /// 0、1、2、3、4 (未设置、未婚、已婚、离异、丧偶)
  46. /// </summary>
  47. public int Marriage { get; set; }
  48. /// <summary>
  49. /// 客户座机
  50. /// </summary>
  51. [Encrypted]
  52. public string LandlinePhone { get; set; }
  53. /// <summary>
  54. /// 客户手机号
  55. /// </summary>
  56. [Encrypted]
  57. public string Tel { get; set; }
  58. /// <summary>
  59. /// 身份证号码
  60. /// </summary>
  61. [Encrypted]
  62. public string IDNo { get; set; }
  63. /// <summary>
  64. /// 护照号码
  65. /// </summary>
  66. [Encrypted]
  67. public string PassportNo { get; set; }
  68. }
  69. public class ClientByGroupIdView
  70. {
  71. /// <summary>
  72. /// clientId
  73. /// </summary>
  74. public int Id { get; set; }
  75. /// <summary>
  76. /// 姓
  77. /// </summary>
  78. public string LastName { get; set; }
  79. /// <summary>
  80. /// 名称
  81. /// </summary>
  82. public string FirstName { get; set; }
  83. /// <summary>
  84. /// 手机号
  85. /// </summary>
  86. public string Tel { get; set; }
  87. /// <summary>
  88. /// 身份证No
  89. /// </summary>
  90. public string IdNo { get; set; }
  91. }
  92. }