Cleaning up the Address ValueObject class
This commit is contained in:
parent
0ca2faaaab
commit
18af108cd6
@ -4,17 +4,12 @@ using System.Collections.Generic;
|
|||||||
|
|
||||||
namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate
|
namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate
|
||||||
{
|
{
|
||||||
public class Address
|
public class Address : ValueObject
|
||||||
:ValueObject
|
|
||||||
{
|
{
|
||||||
public String Street { get; private set; }
|
public String Street { get; private set; }
|
||||||
|
|
||||||
public String City { get; private set; }
|
public String City { get; private set; }
|
||||||
|
|
||||||
public String State { get; private set; }
|
public String State { get; private set; }
|
||||||
|
|
||||||
public String Country { get; private set; }
|
public String Country { get; private set; }
|
||||||
|
|
||||||
public String ZipCode { get; private set; }
|
public String ZipCode { get; private set; }
|
||||||
|
|
||||||
private Address() { }
|
private Address() { }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user