This commit is contained in:
2026-04-18 22:36:21 +04:30
parent 49591985ac
commit c64c3dd9be
20 changed files with 157 additions and 24 deletions
@@ -0,0 +1,8 @@
using Vizhvizh.BuildingBlocks.Domain.Contract;
using Vizhvizh.Shop.ApplicationContract.Models.Products;
using Vizhvizh.Shop.Domain.Products.ValuesObjects;
namespace Vizhvizh.Shop.ApplicationContract.Commands;
public record CreateProductCommand(long ShopId, long CategoryId, string Title, string Description, string Image,
ProductConditionEnum ProductCondition, List<ProductSpecificationsModel> ProductSpecifications) : CommandBase;
@@ -1,9 +1,9 @@
using Vizhvizh.BuildingBlocks.Domain.Contract;
using Vizhvizh.Shared.Domain.ValueObjects;
using Vizhvizh.Shop.Domain.Shops.TypeIds;
using Vizhvizh.Shop.Domain.Shops.ValuesObjects;
namespace Vizhvizh.Shop.ApplicationContract.Commands;
public record CreateShopCommand(long OwnerId, string Title,string Telephone, string Description, string Email, ShopLocation ShopLocation) : CommandBase<ShopId>;
public record SetTitleShopCommand(ShopId ShopId,TitleVO Title) : CommandBase;
public record CreateShopCommand(long OwnerId, string Title,string Telephone,string ShopBusinessLicenseImage,string ShopBusinessLicenseCode,
string Description, string Email, ShopLocation ShopLocation) : CommandBase;
public record SetTitleShopCommand(long ShopId,string Title) : CommandBase;
@@ -0,0 +1,3 @@
namespace Vizhvizh.Shop.ApplicationContract.Models.Products;
public record ProductSpecificationsModel(string Title, List<string> Values);
@@ -6,10 +6,6 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Folder Include="Models\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>