Skip to content

Instantly share code, notes, and snippets.

@ducmeit1
Created July 15, 2019 08:10
Show Gist options
  • Save ducmeit1/8d408788b097843e0abaf80a87ce5c5b to your computer and use it in GitHub Desktop.
Save ducmeit1/8d408788b097843e0abaf80a87ce5c5b to your computer and use it in GitHub Desktop.
using System;
using Newtonsoft.Json;
namespace Customer.Domain.Dtos
{
public class CustomerDto
{
[JsonProperty("id")]
public Guid Id { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("email")]
public string Email { get; set; }
[JsonProperty("address")]
public string Address { get; set; }
[JsonProperty("age")]
public int Age { get; set; }
[JsonProperty("phone_number")]
public string PhoneNumber { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment