Skip to content

Instantly share code, notes, and snippets.

@Hameds
Created November 2, 2017 10:30
Show Gist options
  • Save Hameds/2551998cd8b80242bded70b1e9fd0a42 to your computer and use it in GitHub Desktop.
Save Hameds/2551998cd8b80242bded70b1e9fd0a42 to your computer and use it in GitHub Desktop.
using System;
namespace TddStore.Core
{
public class Customer
{
public Guid Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public Address ShippingAddress { get; private set; }
public Customer()
{
ShippingAddress = new Address();
}
}
public class Address
{
public string StreetAddressOne { get; set; }
public string StreetAddressTwo { get; set; }
public string City { get; set; }
public string State { get; set; }
public string Zip { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment