init
This commit is contained in:
29
SecureBank.Common/Accounts/CreateAccountRequest.cs
Normal file
29
SecureBank.Common/Accounts/CreateAccountRequest.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user