Created
November 2, 2017 10:30
-
-
Save Hameds/2551998cd8b80242bded70b1e9fd0a42 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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