auto.bus_api/SharedModels/Requests/ConfirmRegistrationPhoneNumberRequest.cs

13 lines
306 B
C#

using System.ComponentModel.DataAnnotations;
namespace SharedModels.Requests;
public class ConfirmRegistrationPhoneNumberRequest
{
[Required]
[DataType(DataType.PhoneNumber)]
public string PhoneNumber { get; set; } = null!;
[Required]
public string Token { get; set; } = null!;
}