@ -6,6 +6,7 @@ using System.Net;
using System.Text ;
using System.Text ;
using System.Threading.Tasks ;
using System.Threading.Tasks ;
using System.ComponentModel.DataAnnotations ;
using System.ComponentModel.DataAnnotations ;
using CustomerOnlineV2.Common.Models.HomeModel ;
namespace CustomerOnlineV2.Common.Models.RegisterModel
namespace CustomerOnlineV2.Common.Models.RegisterModel
{
{
@ -32,23 +33,82 @@ namespace CustomerOnlineV2.Common.Models.RegisterModel
public string? Extra2 { get ; set ; }
public string? Extra2 { get ; set ; }
public object? Data { get ; set ; }
public object? Data { get ; set ; }
}
}
public class CustomerList : CommonResponse
{
public List < CustomerListModel > ? CustomerListModel { get ; set ; }
}
public class CustomerListModel
{
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 ; }
public string? lastName2 { get ; set ; }
public string? country { get ; set ; }
public string? address { get ; set ; }
public string? state { get ; set ; }
public string? zipCode { get ; set ; }
public string? district { get ; set ; }
public string? city { get ; set ; }
public string? email { get ; set ; }
public string? homePhone { get ; set ; }
public string? workPhone { get ; set ; }
public string? mobile { get ; set ; }
public string? nativeCountry { get ; set ; }
public string? dob { get ; set ; }
public string? placeOfIssue { get ; set ; }
public string? customerType { get ; set ; }
public string? occupation { get ; set ; }
public string? isBlackListed { get ; set ; }
public string? createdBy { get ; set ; }
public string? createdDate { get ; set ; }
public string? modifiedBy { get ; set ; }
public string? modifiedDate { get ; set ; }
public string? approvedBy { get ; set ; }
public string? approvedDate { get ; set ; }
public string? isDeleted { get ; set ; }
public string? lastTranId { get ; set ; }
public string? sourceOfFound { get ; set ; }
public string? relationId { get ; set ; }
public string? relativeName { get ; set ; }
public string? address2 { get ; set ; }
public string? fullName { get ; set ; }
public string? postalCode { get ; set ; }
public string? idExpiryDate { get ; set ; }
public string? idType { get ; set ; }
public string? idNumber { get ; set ; }
public string? otherIdNumber { get ; set ; }
public string? telNo { get ; set ; }
public string? companyName { get ; set ; }
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 ; }
public string? islocked { get ; set ; }
public string? sessionId { get ; set ; }
public string? AboutUs { get ; set ; }
}
public class OnlineCustomerRegisterModel : CommonResponse
public class OnlineCustomerRegisterModel : CommonResponse
{
{
[Required(ErrorMessage = "Password required")]
[Required(ErrorMessage = "Password required")]
[StringLength(100, ErrorMessage = "The {0} must be at least {2} and at most {1} characters long.", MinimumLength = 6)]
[StringLength(100, ErrorMessage = "The {0} must be at least {2} and at most {1} characters long.", MinimumLength = 6)]
public string Password { get ; set ; }
public string Password { get ; set ; }
[Required]
[Required]
[Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
[Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
public string ConfirmPassword { get ; set ; }
public string ConfirmPassword { get ; set ; }
// public string customerPassword { get; set; }
public string? flag { get ; set ; }
public string? flag { get ; set ; }
public string? customerId { get ; set ; }
public string? customerId { get ; set ; }
//public string? password { get; set; }
//public string? password { get; set; }
public string? membershipId { get ; set ; }
public string? membershipId { get ; set ; }
public string? firstName { get ; set ; }
public string? firstName { get ; set ; }
public string? middleName { get ; set ; }
public string? middleName { get ; set ; }
@ -81,8 +141,9 @@ namespace CustomerOnlineV2.Common.Models.RegisterModel
public string? sourceOfFound { get ; set ; }
public string? sourceOfFound { get ; set ; }
public string? relationId { get ; set ; }
public string? relationId { get ; set ; }
public string? relativeName { get ; set ; }
public string? relativeName { get ; set ; }
public string? address2 { get ; set ; }
public string? address2 { get ; set ; }
public string? fullName { get ; set ; }
public string? fullName { get ; set ; }
public string? postalCode { get ; set ; }
public string? postalCode { get ; set ; }
public string? idExpiryDate { get ; set ; }
public string? idExpiryDate { get ; set ; }
public string? idType { get ; set ; }
public string? idType { get ; set ; }
@ -112,6 +173,7 @@ namespace CustomerOnlineV2.Common.Models.RegisterModel
public string? isActive { get ; set ; }
public string? isActive { get ; set ; }
public string? islocked { get ; set ; }
public string? islocked { get ; set ; }
public string? sessionId { get ; set ; }
public string? sessionId { get ; set ; }
public string? AboutUs { get ; set ; }
public string? AboutUs { get ; set ; }
}
}
}
}