14 lines
359 B
C#
14 lines
359 B
C#
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Authentication;
|
|
|
|
public class AddPhoneNumberViewModel
|
|
{
|
|
[Required]
|
|
[Phone]
|
|
[Display(Name = "Phone number")]
|
|
public string PhoneNumber { get; set; }
|
|
} |