|
|
@ -7,6 +7,7 @@ using System.Text; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
|
using CustomerOnlineV2.Common.Models.HomeModel; |
|
|
|
using Microsoft.AspNetCore.Http; |
|
|
|
|
|
|
|
namespace CustomerOnlineV2.Common.Models.RegisterModel |
|
|
|
{ |
|
|
@ -33,14 +34,14 @@ namespace CustomerOnlineV2.Common.Models.RegisterModel |
|
|
|
public string? Extra2 { get; set; } |
|
|
|
public object? Data { get; set; } |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class CustomerListModel : CommonResponse |
|
|
|
{ |
|
|
|
{ |
|
|
|
public string? flag { get; set; } |
|
|
|
public string? customerId { get; set; } |
|
|
|
//public string? password { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public string? firstName { get; set; } |
|
|
|
public string? middleName { get; set; } |
|
|
|
public string? lastName1 { get; set; } |
|
|
@ -84,10 +85,10 @@ namespace CustomerOnlineV2.Common.Models.RegisterModel |
|
|
|
public string? gender { get; set; } |
|
|
|
public string? salaryRange { get; set; } |
|
|
|
public string? bonusPointPending { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public string? totalSent { get; set; } |
|
|
|
public string? idIssueDate { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string? customerStatus { get; set; } |
|
|
|
public string? isActive { get; set; } |
|
|
@ -97,23 +98,37 @@ namespace CustomerOnlineV2.Common.Models.RegisterModel |
|
|
|
public int ResponseCode { get; set; } |
|
|
|
public string? ResponseMessage { get; set; } |
|
|
|
} |
|
|
|
public class CustomerDocumentListModel : CommonResponse |
|
|
|
{ |
|
|
|
public string? cdid { get; set; } |
|
|
|
public string? customerId { get; set; } |
|
|
|
public string? fileName { get; set; } |
|
|
|
public string? fileType { get; set; } |
|
|
|
public string? documentType { get; set; } |
|
|
|
public string? documentName { get; set; } |
|
|
|
public string? fileByte { get; set; } |
|
|
|
public byte[] ContentFile { get; set; } |
|
|
|
} |
|
|
|
|
|
|
|
public class CustomerList : CommonResponse |
|
|
|
{ |
|
|
|
public List<CustomerListModel>? CustomerListModel { get; set; } |
|
|
|
|
|
|
|
public List<CustomerDocumentListModel>? CustomerDocumentListModel { get; set; } |
|
|
|
} |
|
|
|
public class OnlineCustomerRegisterModel : CommonResponse |
|
|
|
{ |
|
|
|
[Required(ErrorMessage = "Password required")] |
|
|
|
|
|
|
|
|
|
|
|
[StringLength(100, ErrorMessage = "The {0} must be at least {2} and at most {1} characters long.", MinimumLength = 6)] |
|
|
|
public string Password { get; set; } |
|
|
|
|
|
|
|
[Required] |
|
|
|
|
|
|
|
|
|
|
|
[Compare("Password", ErrorMessage = "The password and confirmation password do not match.")] |
|
|
|
public string ConfirmPassword { get; set; } |
|
|
|
|
|
|
|
// public string customerPassword { get; set; }
|
|
|
|
// public string customerPassword { get; set; }
|
|
|
|
public string? flag { get; set; } |
|
|
|
public string? customerId { get; set; } |
|
|
|
//public string? password { get; set; }
|
|
|
@ -128,7 +143,7 @@ namespace CustomerOnlineV2.Common.Models.RegisterModel |
|
|
|
public string? zipCode { get; set; } |
|
|
|
public string? district { get; set; } |
|
|
|
public string? city { get; set; } |
|
|
|
public string ?email { get; set; } |
|
|
|
public string? email { get; set; } |
|
|
|
public string? homePhone { get; set; } |
|
|
|
public string? workPhone { get; set; } |
|
|
|
public string? mobile { get; set; } |
|
|
@ -151,7 +166,7 @@ namespace CustomerOnlineV2.Common.Models.RegisterModel |
|
|
|
public string? ReferralCode { get; set; } |
|
|
|
public string? relativeName { get; set; } |
|
|
|
public string? address2 { get; set; } |
|
|
|
public string? fullName { get; set; } |
|
|
|
public string? fullName { get; set; } |
|
|
|
public string? postalCode { get; set; } |
|
|
|
public string? idExpiryDate { get; set; } |
|
|
|
public string? idType { get; set; } |
|
|
@ -176,12 +191,12 @@ namespace CustomerOnlineV2.Common.Models.RegisterModel |
|
|
|
public string? idIssueDate { get; set; } |
|
|
|
public string? onlineUser { get; set; } |
|
|
|
public string? mobileUser { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public string? customerStatus { get; set; } |
|
|
|
public string? isActive { get; set; } |
|
|
|
public string? islocked { get; set; } |
|
|
|
public string? sessionId { get; set; } |
|
|
|
public string? AboutUs { get; set; } |
|
|
|
public string? otp { get; set; } |
|
|
|
} |
|
|
|
} |
|
|
|
} |