Files
SecureBank/SecureBank.Common/Accounts/CreateAccountRequest.cs

30 lines
760 B
C#
Raw Normal View History

2024-01-19 17:25:56 +01:00
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace SecureBank.Common.Accounts
{
public class CreateAccountRequest
{
[JsonProperty("first_name")]
[JsonPropertyName("first_name")]
public string FirstName { get; set; }
[JsonProperty("last_name")]
[JsonPropertyName("last_name")]
public string LastName { get; set; }
[JsonProperty("email")]
[JsonPropertyName("email")]
public string Email { get; set; }
[JsonProperty("phone_number")]
[JsonPropertyName("phone_number")]
public string PhoneNumber { get; set; }
}
}