This commit is contained in:
Tizian.Breuch
2025-08-01 15:11:42 +02:00
parent 96f082b38f
commit 55eeaca7f4
29 changed files with 452 additions and 452 deletions

View File

@@ -4,15 +4,15 @@ using System.Collections.Generic;
using System.Threading.Tasks;
namespace Webshop.Application.DTOs.Categorys
namespace Webshop.Application.DTOs.categories
{
public class CategoryDto
public class categorieDto
{
public Guid Id { get; set; }
public string Name { get; set; } = string.Empty;
public string Slug { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public Guid? ParentCategoryId { get; set; }
public Guid? ParentcategorieId { get; set; }
public string? ImageUrl { get; set; }
public bool IsActive { get; set; }
public int DisplayOrder { get; set; }

View File

@@ -4,14 +4,14 @@ using System.Collections.Generic;
using System.Threading.Tasks;
namespace Webshop.Application.DTOs.Categorys
namespace Webshop.Application.DTOs.categories
{
public class CreateCategoryDto
public class CreatecategorieDto
{
public string Name { get; set; } = string.Empty;
public string Slug { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public Guid? ParentCategoryId { get; set; }
public Guid? ParentcategorieId { get; set; }
public string? ImageUrl { get; set; }
public bool IsActive { get; set; } = true;
public int DisplayOrder { get; set; } = 0;

View File

@@ -24,6 +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>();
public List<Guid> categorieIds { get; set; } = new List<Guid>();
}
}

View File

@@ -2,7 +2,7 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Application.DTOs.Categorys;
using Webshop.Application.DTOs.categories;
namespace Webshop.Application.DTOs.Products
@@ -19,6 +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> categorys { get; set; } = new List<CategoryDto>();
public List<categorieDto> categories { get; set; } = new List<categorieDto>();
}
}