2018-03-26 19:27:29 +02:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
2019-09-04 01:25:36 +01:00
|
|
|
using Yavsc.Attributes.Validation;
|
2018-03-26 19:27:29 +02:00
|
|
|
|
|
|
|
|
namespace Yavsc.ViewModels.Manage
|
|
|
|
|
{
|
|
|
|
|
public class VerifyPhoneNumberViewModel
|
|
|
|
|
{
|
2019-09-04 01:25:36 +01:00
|
|
|
[YaRequired]
|
2018-03-26 19:27:29 +02:00
|
|
|
public string Code { get; set; }
|
|
|
|
|
|
2019-09-04 01:25:36 +01:00
|
|
|
[YaRequired]
|
2018-03-26 19:27:29 +02:00
|
|
|
[Phone]
|
|
|
|
|
[Display(Name = "Phone number")]
|
|
|
|
|
public string PhoneNumber { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|