categorys
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user