|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using Volo.Abp.AspNetCore.Mvc;
|
|
|
|
|
using Volo.Abp.Domain.Entities;
|
|
|
|
|
using Volo.Abp.Identity;
|
|
|
|
|
using Volo.Abp.Validation;
|
|
|
|
|
|
|
|
|
@ -28,7 +29,7 @@ namespace Volo.Abp.Account.Web.Pages.Account.Components.ProfileManagementGroup.P
|
|
|
|
|
return View("~/Pages/Account/Components/ProfileManagementGroup/PersonalInfo/Default.cshtml", model);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class PersonalInfoModel
|
|
|
|
|
public class PersonalInfoModel : IHasConcurrencyStamp
|
|
|
|
|
{
|
|
|
|
|
[Required]
|
|
|
|
|
[DynamicStringLength(typeof(IdentityUserConsts), nameof(IdentityUserConsts.MaxUserNameLength))]
|
|
|
|
@ -51,6 +52,9 @@ namespace Volo.Abp.Account.Web.Pages.Account.Components.ProfileManagementGroup.P
|
|
|
|
|
[DynamicStringLength(typeof(IdentityUserConsts), nameof(IdentityUserConsts.MaxPhoneNumberLength))]
|
|
|
|
|
[Display(Name = "DisplayName:PhoneNumber")]
|
|
|
|
|
public string PhoneNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
[HiddenInput]
|
|
|
|
|
public string ConcurrencyStamp { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|