From f29554237bb9bd05b4fe0e83ce9b6cae12c16b2d Mon Sep 17 00:00:00 2001 From: Nikoo Asadnejad Date: Thu, 11 Jan 2024 10:41:14 +0330 Subject: [PATCH] refactor : restructure the project --- .../AggregateRoot}/CategoryModel.cs | 0 .../AggregateRoot}/ProductModel.cs | 0 .../{ProductAggregate => Product/ValueObjects}/Currency.cs | 0 .../{ProductAggregate => Product/ValueObjects}/Price.cs | 0 Src/Product.Domain/Product.Domain.csproj | 4 ++++ 5 files changed, 4 insertions(+) rename Src/Product.Domain/Aggregates/{ProductAggregate => Category/AggregateRoot}/CategoryModel.cs (100%) rename Src/Product.Domain/Aggregates/{ProductAggregate => Product/AggregateRoot}/ProductModel.cs (100%) rename Src/Product.Domain/Aggregates/{ProductAggregate => Product/ValueObjects}/Currency.cs (100%) rename Src/Product.Domain/Aggregates/{ProductAggregate => Product/ValueObjects}/Price.cs (100%) diff --git a/Src/Product.Domain/Aggregates/ProductAggregate/CategoryModel.cs b/Src/Product.Domain/Aggregates/Category/AggregateRoot/CategoryModel.cs similarity index 100% rename from Src/Product.Domain/Aggregates/ProductAggregate/CategoryModel.cs rename to Src/Product.Domain/Aggregates/Category/AggregateRoot/CategoryModel.cs diff --git a/Src/Product.Domain/Aggregates/ProductAggregate/ProductModel.cs b/Src/Product.Domain/Aggregates/Product/AggregateRoot/ProductModel.cs similarity index 100% rename from Src/Product.Domain/Aggregates/ProductAggregate/ProductModel.cs rename to Src/Product.Domain/Aggregates/Product/AggregateRoot/ProductModel.cs diff --git a/Src/Product.Domain/Aggregates/ProductAggregate/Currency.cs b/Src/Product.Domain/Aggregates/Product/ValueObjects/Currency.cs similarity index 100% rename from Src/Product.Domain/Aggregates/ProductAggregate/Currency.cs rename to Src/Product.Domain/Aggregates/Product/ValueObjects/Currency.cs diff --git a/Src/Product.Domain/Aggregates/ProductAggregate/Price.cs b/Src/Product.Domain/Aggregates/Product/ValueObjects/Price.cs similarity index 100% rename from Src/Product.Domain/Aggregates/ProductAggregate/Price.cs rename to Src/Product.Domain/Aggregates/Product/ValueObjects/Price.cs diff --git a/Src/Product.Domain/Product.Domain.csproj b/Src/Product.Domain/Product.Domain.csproj index 6836c68..fc5d596 100644 --- a/Src/Product.Domain/Product.Domain.csproj +++ b/Src/Product.Domain/Product.Domain.csproj @@ -6,4 +6,8 @@ enable + + + +