Skip to content

Instantly share code, notes, and snippets.

@JamesBender
Created October 15, 2013 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JamesBender/6995697 to your computer and use it in GitHub Desktop.
Save JamesBender/6995697 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