Merge pull request #797 from mvelosop/fix/725-address-value-object-not-saved

Fix for #725 - Address value object not saved
This commit is contained in:
Miguel Veloso 2018-10-05 09:53:35 +01:00 committed by GitHub
commit a9a9ddf2d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,11 +6,11 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.O
{
public class Address : ValueObject
{
public String Street { get; }
public String City { get; }
public String State { get; }
public String Country { get; }
public String ZipCode { get; }
public String Street { get; private set; }
public String City { get; private set; }
public String State { get; private set; }
public String Country { get; private set; }
public String ZipCode { get; private set; }
private Address() { }