diff --git a/common.props b/common.props index 9c69debc..9449ee99 100644 --- a/common.props +++ b/common.props @@ -1,7 +1,7 @@ latest - 0.5.0 + 0.5.1 $(NoWarn);CS1591 true EasyAbp Team diff --git a/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application.Contracts/EasyAbp/EShop/Products/Categories/Dtos/CategoryDto.cs b/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application.Contracts/EasyAbp/EShop/Products/Categories/Dtos/CategoryDto.cs index f69850f6..7f765da4 100644 --- a/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application.Contracts/EasyAbp/EShop/Products/Categories/Dtos/CategoryDto.cs +++ b/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application.Contracts/EasyAbp/EShop/Products/Categories/Dtos/CategoryDto.cs @@ -1,13 +1,22 @@ using System; +using System.Collections.Generic; +using JetBrains.Annotations; using Volo.Abp.Application.Dtos; namespace EasyAbp.EShop.Products.Categories.Dtos { public class CategoryDto : FullAuditedEntityDto { - public Guid? ParentCategoryId { get; set; } - public string DisplayName { get; set; } + + [NotNull] + public string Code { get; set; } + + public int Level { get; set; } + + public Guid? ParentId { get; set; } + + public ICollection Children { get; set; } public string Description { get; set; }