Implements Full name setup
This commit is contained in:
parent
340d52d998
commit
7d9495e326
5 changed files with 68 additions and 7 deletions
|
|
@ -10,7 +10,8 @@ namespace Yavsc.ViewModels.Manage
|
|||
{
|
||||
public string UserName {get; set; }
|
||||
|
||||
public string Avatar { get; set; }
|
||||
public string Avatar { get; set; }
|
||||
public string Address { get; set; }
|
||||
|
||||
public bool HasPassword { get; set; }
|
||||
|
||||
|
|
|
|||
13
src/Yavsc/ViewModels/Manage/SetFullNameViewModel.cs
Normal file
13
src/Yavsc/ViewModels/Manage/SetFullNameViewModel.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Yavsc.Attributes.Validation;
|
||||
|
||||
namespace Yavsc.ViewModels.Manage
|
||||
{
|
||||
public class SetFullNameViewModel
|
||||
{
|
||||
[Required]
|
||||
[Display(Name = "Your full name"), YaStringLength(512)]
|
||||
public string FullName { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue