22 lines
612 B
C#
22 lines
612 B
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WebApplication.Models.ManageViewModels
|
|
{
|
|
public class VerifyPhoneNumberViewModel
|
|
{
|
|
[Required]
|
|
public string Code { get; set; }
|
|
|
|
[Required]
|
|
[Phone]
|
|
[Display(Name = "Phone number")]
|
|
public string PhoneNumber { get; set; }
|
|
}
|
|
}
|