You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

209 lines
8.6 KiB

12 months ago
10 months ago
12 months ago
11 months ago
12 months ago
10 months ago
12 months ago
10 months ago
12 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
12 months ago
10 months ago
12 months ago
10 months ago
12 months ago
11 months ago
12 months ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Net.Http.Headers;
  5. using System.Net;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.ComponentModel.DataAnnotations;
  9. using CustomerOnlineV2.Common.Models.HomeModel;
  10. using CustomerOnlineV2.Common.Models.ReceiverModel;
  11. namespace CustomerOnlineV2.Common.Models.RegisterModel
  12. {
  13. public class AddressRequest
  14. {
  15. public string? CountryIsoCode { get; set; }
  16. public string? StateId { get; set; }
  17. public string? CityName { get; set; }
  18. public string? StartIndex { get; set; }
  19. public string? PageSize { get; set; }
  20. public string? CityId { get; set; }
  21. public string? TownName { get; set; }
  22. public string? MethodType { get; set; }
  23. public string? IpAddress { get; set; }
  24. public string? ProcessId { get; set; }
  25. }
  26. public class AddressListResponse
  27. {
  28. public int ResponseCode { get; set; }
  29. public string? Msg { get; set; }
  30. public string? Id { get; set; }
  31. public string? Extra { get; set; }
  32. public string? Extra1 { get; set; }
  33. public string? Extra2 { get; set; }
  34. public object? Data { get; set; }
  35. }
  36. public class CustomerListModel : CommonResponse
  37. {
  38. public string? flag { get; set; }
  39. public string? customerId { get; set; }
  40. //public string? password { get; set; }
  41. public string? firstName { get; set; }
  42. public string? middleName { get; set; }
  43. public string? lastName1 { get; set; }
  44. public string? lastName2 { get; set; }
  45. public string? country { get; set; }
  46. public string? address { get; set; }
  47. public string? state { get; set; }
  48. public string? zipCode { get; set; }
  49. public string? district { get; set; }
  50. public string? city { get; set; }
  51. public string? email { get; set; }
  52. public string? homePhone { get; set; }
  53. public string? workPhone { get; set; }
  54. public string? mobile { get; set; }
  55. public string? nativeCountry { get; set; }
  56. public string? dob { get; set; }
  57. public string? placeOfIssue { get; set; }
  58. public string? customerType { get; set; }
  59. public string? occupation { get; set; }
  60. public string? isBlackListed { get; set; }
  61. public string? createdBy { get; set; }
  62. public string? createdDate { get; set; }
  63. public string? modifiedBy { get; set; }
  64. public string? modifiedDate { get; set; }
  65. public string? approvedBy { get; set; }
  66. public string? approvedDate { get; set; }
  67. public string? isDeleted { get; set; }
  68. public string? lastTranId { get; set; }
  69. public string? sourceOfFound { get; set; }
  70. public string? relationId { get; set; }
  71. public string? relativeName { get; set; }
  72. public string? address2 { get; set; }
  73. public string? fullName { get; set; }
  74. public string? postalCode { get; set; }
  75. public string? idExpiryDate { get; set; }
  76. public string? idType { get; set; }
  77. public string? idTypeValue { get; set; }
  78. public string? idNumber { get; set; }
  79. public string? otherIdNumber { get; set; }
  80. public string? telNo { get; set; }
  81. public string? companyName { get; set; }
  82. public string? gender { get; set; }
  83. public string? salaryRange { get; set; }
  84. public string? bonusPointPending { get; set; }
  85. public string? totalSent { get; set; }
  86. public string? idIssueDate { get; set; }
  87. public string? KycStatus { get; set; }
  88. public string? KycStatusMsg { get; set; }
  89. public string? KycVerified { get; set; }
  90. public string? islocked { get; set; }
  91. public string? sessionId { get; set; }
  92. public string? AboutUs { get; set; }
  93. public string? SelfieDoc { get; set; }
  94. public int ResponseCode { get; set; }
  95. public string? ResponseMessage { get; set; }
  96. }
  97. public class CustomerDocumentListModel : CommonResponse
  98. {
  99. public string? cdid { get; set; }
  100. public string? customerId { get; set; }
  101. public string? fileName { get; set; }
  102. public string? IdType { get; set; }
  103. public string? Typeid { get; set; }
  104. public string? fileType { get; set; }
  105. public string? documentType { get; set; }
  106. public string? documentName { get; set; }
  107. public string? fileByte { get; set; }
  108. public byte[] ContentFile { get; set; }
  109. public string CreatedDate { get; set; }
  110. }
  111. public class CustomerList : CommonResponse
  112. {
  113. public List<CustomerListModel>? CustomerListModel { get; set; }
  114. public List<CustomerDocumentListModel>? CustomerDocumentListModel { get; set; }
  115. }
  116. public class CustomerEditModel : CommonResponse
  117. {
  118. public List<OnlineCustomerRegisterModel>? CustomerRegisterModel { get; set; }
  119. }
  120. public class OnlineCustomerRegisterModel : CommonResponse
  121. {
  122. [Required(ErrorMessage = "Password required")]
  123. [StringLength(100, ErrorMessage = "The {0} must be at least {2} and at most {1} characters long.", MinimumLength = 6)]
  124. public string Password { get; set; }
  125. [Required]
  126. [Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
  127. public string ConfirmPassword { get; set; }
  128. public string? flag { get; set; }
  129. public string? customerId { get; set; }
  130. //public string? password { get; set; }
  131. public string? membershipId { get; set; }
  132. public string? firstName { get; set; }
  133. public string? middleName { get; set; }
  134. public string? lastName1 { get; set; }
  135. public string? lastName2 { get; set; }
  136. public string? country { get; set; }
  137. public string? address { get; set; }
  138. public string? state { get; set; }
  139. public string? zipCode { get; set; }
  140. public string? district { get; set; }
  141. public string? city { get; set; }
  142. public string ?email { get; set; }
  143. public string? homePhone { get; set; }
  144. public string? workPhone { get; set; }
  145. public string? mobile { get; set; }
  146. public string? nativeCountry { get; set; }
  147. public string? dob { get; set; }
  148. public string? placeOfIssue { get; set; }
  149. public string? customerType { get; set; }
  150. public string? occupation { get; set; }
  151. public string? occupationOthers { get; set; }
  152. public string? isBlackListed { get; set; }
  153. public string? createdBy { get; set; }
  154. public string? createdDate { get; set; }
  155. public string? modifiedBy { get; set; }
  156. public string? modifiedDate { get; set; }
  157. public string? approvedBy { get; set; }
  158. public string? approvedDate { get; set; }
  159. public string? isDeleted { get; set; }
  160. public string? lastTranId { get; set; }
  161. public string? sourceOfFound { get; set; }
  162. public string? relationId { get; set; }
  163. public string? ReferralCode { get; set; }
  164. public string? relativeName { get; set; }
  165. public string? address2 { get; set; }
  166. public string? fullName { get; set; }
  167. public string? postalCode { get; set; }
  168. public string? idExpiryDate { get; set; }
  169. public string? idType { get; set; }
  170. public string? idNumber { get; set; }
  171. public string? otherIdNumber { get; set; }
  172. public string? telNo { get; set; }
  173. public string? companyName { get; set; }
  174. public string? gender { get; set; }
  175. public string? salaryRange { get; set; }
  176. public string? bonusPointPending { get; set; }
  177. public string? Redeemed { get; set; }
  178. public string? bonusPoint { get; set; }
  179. public string? todaysSent { get; set; }
  180. public string? todaysNoOfTxn { get; set; }
  181. public string? agentId { get; set; }
  182. public string? branchId { get; set; }
  183. public string? memberIDissuedDate { get; set; }
  184. public string? memberIDissuedByUser { get; set; }
  185. public string? memberIDissuedAgentId { get; set; }
  186. public string? memberIDissuedBranchId { get; set; }
  187. public string? totalSent { get; set; }
  188. public string? idIssueDate { get; set; }
  189. public string? onlineUser { get; set; }
  190. public string? mobileUser { get; set; }
  191. public string? customerStatus { get; set; }
  192. public string? isActive { get; set; }
  193. public string? islocked { get; set; }
  194. public string? sessionId { get; set; }
  195. public string? AboutUs { get; set; }
  196. public string? otp { get; set; }
  197. }
  198. }