30 lines
760 B
C#
30 lines
760 B
C#
|
|
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; }
|
|||
|
|
}
|
|||
|
|
}
|