diff --git a/src/PetStore.Core/DomainObjects/Foundation/Category.cs b/src/PetStore.Core/DomainObjects/Foundation/Category.cs index 4b628af..e34490f 100644 --- a/src/PetStore.Core/DomainObjects/Foundation/Category.cs +++ b/src/PetStore.Core/DomainObjects/Foundation/Category.cs @@ -10,17 +10,17 @@ public class Category /// /// Category ID /// - public int Id { get; set; } + public virtual int Id { get; set; } /// /// Category name /// - public string Name { get; set; } + public virtual string Name { get; set; } /// /// Category description /// - public string Description { get; set; } + public virtual string Description { get; set; } #endregion } diff --git a/src/PetStore.Core/DomainObjects/Foundation/Country.cs b/src/PetStore.Core/DomainObjects/Foundation/Country.cs index 8463241..93d3792 100644 --- a/src/PetStore.Core/DomainObjects/Foundation/Country.cs +++ b/src/PetStore.Core/DomainObjects/Foundation/Country.cs @@ -10,17 +10,17 @@ public class Country /// /// Country ID /// - public int Id { get; set; } + public virtual int Id { get; set; } /// /// Country name /// - public string Name { get; set; } + public virtual string Name { get; set; } /// /// Country code (acronym) defined on (ISO 3166-1 alfa-2) /// - public string Code { get; set; } + public virtual string Code { get; set; } #endregion } diff --git a/src/PetStore.Core/DomainObjects/Foundation/Product.cs b/src/PetStore.Core/DomainObjects/Foundation/Product.cs index 32edfb5..3f0c1c9 100644 --- a/src/PetStore.Core/DomainObjects/Foundation/Product.cs +++ b/src/PetStore.Core/DomainObjects/Foundation/Product.cs @@ -10,27 +10,27 @@ public class Product /// /// Product ID /// - public int Id { get; set; } + public virtual int Id { get; set; } /// /// Product category /// - public Category Category { get; set; } + public virtual Category Category { get; set; } /// /// Product name /// - public string Name { get; set; } + public virtual string Name { get; set; } /// /// Product description /// - public string Description { get; set; } + public virtual string Description { get; set; } /// /// Product image path /// - public string ImagePath { get; set; } + public virtual string ImagePath { get; set; } #endregion }