categorys

This commit is contained in:
Tizian.Breuch
2025-07-31 15:33:35 +02:00
parent ca1d3fda1d
commit ad7bfeaa40
4 changed files with 97 additions and 45 deletions

View File

@@ -24,5 +24,6 @@ namespace Webshop.Application.DTOs.Products
public DateTimeOffset? LastModifiedDate { get; set; }
public Guid? SupplierId { get; set; }
public decimal? PurchasePrice { get; set; }
public List<Guid> CategoryIds { get; set; } = new List<Guid>();
}
}

View File

@@ -2,6 +2,7 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Application.DTOs.Categorys;
namespace Webshop.Application.DTOs.Products
@@ -18,5 +19,6 @@ namespace Webshop.Application.DTOs.Products
public int StockQuantity { get; set; }
public string? ImageUrl { get; set; }
public string Slug { get; set; } = string.Empty;
public List<CategoryDto> Categories { get; set; } = new List<CategoryDto>();
}
}