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.
41 lines
1.4 KiB
41 lines
1.4 KiB
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Common.Model.CustomerRegister
|
|
{
|
|
public class NewUserRegisterModel
|
|
{
|
|
public string ResidenceCardNumber { get; set; }
|
|
public string UserId { get; set; }
|
|
public string NativeCountry { get; set; }
|
|
[Required]
|
|
public string Password { get; set; }
|
|
[Required]
|
|
public string ConfirmPassword { get; set; }
|
|
public string ReferralCode { get; set; }
|
|
public string ClientId { get; set; }
|
|
public string uuid { get; set; }
|
|
public string AppVersion { get; set; }
|
|
public string phoneBrand { get; set; }
|
|
public string phoneOs { get; set; }
|
|
public string fcmId { get; set; }
|
|
public string osVersion { get; set; }
|
|
|
|
[Required(ErrorMessage ="Full Name is required.")]
|
|
public string FullName { get; set; }
|
|
[Required]
|
|
public string DOB { get; set; }
|
|
[Required]
|
|
public string MobileNumber { get; set; }
|
|
[Required]
|
|
public string PostalCode { get; set; }
|
|
[Required]
|
|
public string City { get; set; }
|
|
[Required]
|
|
public string Address1 { get; set; }
|
|
public string Address2 { get; set; }
|
|
[Required]
|
|
public string Nationality { get; set; }
|
|
[Required]
|
|
public string Gender { get; set; }
|
|
}
|
|
}
|